SHADOW(5) File Formats and Configuration SHADOW(5) NOME shadow - file delle password shadow DESCRIZIONE shadow is a file which contains the password information for the system's accounts and optional aging information. Questo file non deve essere leggibile dagli utenti normali se si vuole mantenere la sicurezza sulle password. Each line of this file contains 9 fields, separated by colons (<<:>>), in the following order: login name Deve essere un nome valido di un account esistente nel sistema. encrypted password This field may be empty, in which case no passwords are required to authenticate as the specified login name. However, some applications which read the /etc/shadow file may decide not to permit any access at all if the password field is empty. A password field which starts with an exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked. Refer to crypt(3) for details on how this string is interpreted. If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, the user will not be able to use a unix password to log in (but the user may log in the system by other means). date of last password change The date of the last password change, expressed as the number of days since Jan 1, 1970 00:00 UTC. The value 0 has a special meaning, which is that the user should change her password the next time she will log in the system. Un campo vuoto implica che la scadenza della password e disabilitata. minimum password age L'eta minima password e il numero di giorni che l'utente dovra attendere prima di poter cambiare nuovamente la propria password. An empty field and value 0 mean that there is no minimum password age. maximum password age L'eta massima password e il numero di giorni dopo il quale l'utente deve cambiare la propria password. Quando questo numero di giorni e passato, la password puo ancora essere valida. All'utente verra chiesto di cambiare la password durante il successivo accesso. Un campo vuoto indica che non ci sono una eta massima password, un periodo di avviso e nessun periodo di inattivita (vedere oltre). Se l'eta massima password e minore dell'eta minima password, l'utente non puo cambiare la propria password. password warning period Il numero di giorni prima della scadenza di una password (vedere eta massima password, sopra) durante il quale l'utente riceve un avviso. Un campo vuoto e il valore 0 indicano che non c'e un periodo di avviso password. password inactivity period Il numero di giorni dopo la scadenza della password (vedere eta massima password, sopra) durante il quale la password e ancora accettata (e l'utente dovrebbe aggiornare la propria password al primo accesso). After expiration of the password and this expiration period is elapsed, no login is possible for the user. The user should contact her administrator. Un campo vuoto implica che non e applicato il periodo di inattivita. account expiration date The date of expiration of the account, expressed as the number of days since Jan 1, 1970 00:00 UTC. Note that an account expiration differs from a password expiration. In case of an account expiration, the user shall not be allowed to login. In case of a password expiration, the user is not allowed to login using her password. Un campo vuoto implica che l'account non scade mai. Il valore 0 non andrebbe usato perche potrebbe essere interpretato come account che non scade o come scaduto il 1 gennaio 1970. reserved field Questo campo e riservato per uso futuro. FILE /etc/passwd Informazioni sugli account utente. /etc/shadow Informazioni sicure sugli account utente. /etc/shadow- Copia di backup per /etc/shadow. Notare che questo file viene usato dagli strumenti del pacchetto shadow, ma non da tutti gli strumenti per la gestione di utenti e password. VEDERE ANCHE chage(1), login(1), passwd(1), passwd(5), pwck(8), pwconv(8), pwunconv(8), su(1), sulogin(8). shadow-utils 4.15.1 01/04/2024 SHADOW(5)