[ dendic @ 16.10.2012. 16:28 ] @
Kako cu na debianu kad promjenim lozinku od root-a znati koliko ce mi lozinka trajati.Koliko obicno sistem dadne dana da traje lozinka za root ili za korisnika? |
[ dendic @ 16.10.2012. 16:28 ] @
[ maksvel @ 16.10.2012. 16:42 ] @
Te stvari stoje gde i sam password, u /etc/shadow
http://www.cyberciti.biz/faq/understanding-etcshadow-file/ [ Miroslav Strugarevic @ 16.10.2012. 17:54 ] @
Code: chage -l ime_koisnika [ madcama @ 16.10.2012. 18:14 ] @
Citat: Miroslav Strugarevic: Code: chage -l ime_koisnika Sjajno. Na ovaj način može i da se vidi kad je instaliran sistem. Hvala. [ Miroslav Strugarevic @ 16.10.2012. 18:50 ] @
Nemoj meni da se zahvaljujes nisam ja pisao shadow-utils ;)
[ dendic @ 17.10.2012. 06:19 ] @
chage -l user daje never,never...kojom naredbom se postavlja da lozinka nikad ne istice?
[ maksvel @ 17.10.2012. 07:41 ] @
U manu pise:
Citat: -E, --expiredate EXPIRE_DATE Set the date or number of days since January 1, 1970 on which the user´s account will no longer be accessible. The date may also be expressed in the format YYYY-MM-DD (or the format more commonly used in your area). A user whose account is locked must contact the system administrator before being able to use the system again. Passing the number -1 as the EXPIRE_DATE will remove an account expiration date. Konkretno: chage -I -1 -m 0 -M 99999 -E -1 username (http://www.cyberciti.biz/tips/...password-aging-expiration.html) Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|