diff options
Diffstat (limited to 'man/it/man1/passwd.1')
-rw-r--r-- | man/it/man1/passwd.1 | 199 |
1 files changed, 121 insertions, 78 deletions
diff --git a/man/it/man1/passwd.1 b/man/it/man1/passwd.1 index 56b68806..9dbe486a 100644 --- a/man/it/man1/passwd.1 +++ b/man/it/man1/passwd.1 @@ -2,12 +2,12 @@ .\" Title: passwd .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 13/06/2019 +.\" Date: 01/12/2019 .\" Manual: Comandi utente -.\" Source: shadow-utils 4.7 +.\" Source: shadow-utils 4.8 .\" Language: Italian .\" -.TH "PASSWD" "1" "13/06/2019" "shadow\-utils 4\&.7" "Comandi utente" +.TH "PASSWD" "1" "01/12/2019" "shadow\-utils 4\&.8" "Comandi utente" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -34,17 +34,18 @@ passwd \- cambia la password utente \fBpasswd\fR [\fIopzioni\fR] [\fILOGIN\fR] .SH "DESCRIZIONE" .PP +The \fBpasswd\fR -cambia la password per account utente\&. Un utente normale pu\(`o solo cambiare la password per il proprio account, mentre il super utente pu\(`o cambiarla per qualsiasi account\&. +command changes passwords for user accounts\&. A normal user may only change the password for their own account, while the superuser may change the password for any account\&. \fBpasswd\fR -modifica anche l\*(Aqaccount o il periodo di validit\(`a della password associata\&. +also changes the account or associated password validity period\&. .SS "Modifiche delle password" .PP All\*(Aqutente viene prima chiesta la propria password attuale, se presente\&. Questa password viene cifrata e confrontata con quella memorizzata\&. All\*(Aqutente viene data solo una possibilit\(`a di inserire la password corretta\&. Il super utente salta questo passo in modo da poter modificare password dimenticate\&. .PP -Dopo che la password \(`e stata inserita, vengono controllati i parametri dell\*(Aqinvecchiamento delle password per verificare che l\*(Aqutente possa modificarla in questo momento\&. In caso negativo +After the password has been entered, password aging information is checked to see if the user is permitted to change the password at this time\&. If not, \fBpasswd\fR -non fa cambiare la password ed esce\&. +refuses to change the password and exits\&. .PP All\*(Aqutente viene quindi chiesto di inserire la nuova password due volte\&. Le due password sono confrontate e devono essere uguali affinch\('e la password venga accettata\&. .PP @@ -83,30 +84,30 @@ numeri da 0 a 9 segni di punteggiatura .RE .PP -Si deve fare attenzione a non inserire il carattere di cancellazione o di kill (azzeramento della riga)\&. +Care must be taken not to include the system default erase or kill characters\&. \fBpasswd\fR -non accetta password non sufficientemente complesse\&. +will reject any password which is not suitably complex\&. .SS "Suggerimenti per password utente" .PP -La sicurezza di una password dipende dalla forza dell\*(Aqalgoritmo e dalla dimensione della chiave utilizzata\&. Il metodo originale di cifratura del sistema +The security of a password depends upon the strength of the encryption algorithm and the size of the key space\&. The legacy \fIUNIX\fR -si basa sull\*(Aqalgoritmo NBS DES\&. Adesso sono da preferisi metodi di cifratura pi\(`u recenti (vedere -\fBENCRYPT_METHOD\fR)\&. La dimensione della chiave dipende dall\*(Aqaleatoriet\(`a della password indicata\&. +System encryption method is based on the NBS DES algorithm\&. More recent methods are now recommended (see +\fBENCRYPT_METHOD\fR)\&. The size of the key space depends upon the randomness of the password which is selected\&. .PP La compromissione di una password avviene normalmente a seguito di incuria nella scelta o nella gestione della password\&. Per questo motivo non si devono utilizzare password che appaiono nei dizionari o che devono essere scritte\&. La password non deve essere uno nome proprio, il numero della patente, la data di nascita o l\*(Aqindirizzo\&. Uno qualunque di questi potrebbe essere indovinato per violare la sicurezza del sistema\&. .PP You can find advice on how to choose a strong password on http://en\&.wikipedia\&.org/wiki/Password_strength .SH "OPZIONI" .PP -Il comando +The options which apply to the \fBpasswd\fR -accetta le seguenti opzioni: +command are: .PP \fB\-a\fR, \fB\-\-all\fR .RS 4 -Questa opzione pu\(`o essere utilizzata solo con +This option can be used only with \fB\-S\fR -e mostra lo stato per ogni utente\&. +and causes show status for all users\&. .RE .PP \fB\-d\fR, \fB\-\-delete\fR @@ -124,11 +125,11 @@ Fa scadere subito la password dell\*(Aqutente\&. Il che ha l\*(Aqeffetto di forz Mostra un messaggio di aiuto ed esce\&. .RE .PP -\fB\-i\fR, \fB\-\-inactive\fR\ \&\fIINATTIVO\fR +\fB\-i\fR, \fB\-\-inactive\fR\ \&\fIINACTIVE\fR .RS 4 -Questa opzione viene utilizzata per disabilitare un account dopo che la password \(`e scaduta da un certo numero di giorni\&. Dopo che un account ha una password che \(`e scaduta da -\fIINATTIVO\fR -giorni, l\*(Aqutente non pu\(`o pi\(`u accedere con l\*(Aqaccount\&. +This option is used to disable an account after the password has been expired for a number of days\&. After a user account has had an expired password for +\fIINACTIVE\fR +days, the user may no longer sign on to the account\&. .RE .PP \fB\-k\fR, \fB\-\-keep\-tokens\fR @@ -140,17 +141,17 @@ Indica che il cambio password va effettuato solo per i token (password) di auten .RS 4 Blocca la password dell\*(Aqaccount indicato\&. Questa opzione disabilita una password modificandola in modo che non corrisponda a nessun valore cifrato (aggiunge un \(Fo!\(Fc all\*(Aqinizio della password)\&. .sp -Notare che questo non disabilita l\*(Aqaccount\&. L\*(Aqutente pu\(`o sempre accedere al sistema tramite altri token di autenticazione (ad esempio una chiave SSH)\&. Per disabilitare l\*(Aqaccount l\*(Aqamministratore deve usare +Note that this does not disable the account\&. The user may still be able to login using another authentication token (e\&.g\&. an SSH key)\&. To disable the account, administrators should use \fBusermod \-\-expiredate 1\fR -(che imposta la data di scadenza al 2 gennaio 1970)\&. +(this set the account\*(Aqs expire date to Jan 2, 1970)\&. .sp Gli utenti con password bloccata non la possono cambiare\&. .RE .PP -\fB\-n\fR, \fB\-\-mindays\fR\ \&\fIMIN_GIORNI\fR +\fB\-n\fR, \fB\-\-mindays\fR\ \&\fIMIN_DAYS\fR .RS 4 -Imposta il numero minimo di giorni tra i cambi di password a -\fIMIN_GIORNI\fR\&. Un valore pari a zero indica che l\*(Aqutente pu\(`o cambiare la propria password in qualsiasi momento\&. +Set the minimum number of days between password changes to +\fIMIN_DAYS\fR\&. A value of zero for this field indicates that the user may change their password at any time\&. .RE .PP \fB\-q\fR, \fB\-\-quiet\fR @@ -160,16 +161,18 @@ Modalit\(`a silenziosa\&. .PP \fB\-r\fR, \fB\-\-repository\fR\ \&\fIREPOSITORY\fR .RS 4 -cambia la password nel repository +change password in \fIREPOSITORY\fR +repository .RE .PP \fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_DIR\fR .RS 4 -Effettua le modifiche nella directory +Apply changes in the \fICHROOT_DIR\fR -e usa i file di configurazione dalla directory -\fICHROOT_DIR\fR\&. +directory and use the configuration files from the +\fICHROOT_DIR\fR +directory\&. .RE .PP \fB\-S\fR, \fB\-\-status\fR @@ -179,28 +182,28 @@ Visualizza le informazioni sullo stato di un account\&. Lo stato consiste di 7 c .PP \fB\-u\fR, \fB\-\-unlock\fR .RS 4 -Sblocca la password dell\*(Aqaccount indicato\&. Questa opzione riabilita la password riportandola al suo valore precedente (il valore che c\*(Aqera prima di usare l\*(Aqopzione -\fB\-l\fR)\&. +Unlock the password of the named account\&. This option re\-enables a password by changing the password back to its previous value (to the value before using the +\fB\-l\fR +option)\&. .RE .PP -\fB\-w\fR, \fB\-\-warndays\fR\ \&\fIAVVISO_GIORNI\fR +\fB\-w\fR, \fB\-\-warndays\fR\ \&\fIWARN_DAYS\fR .RS 4 -Imposta il numero di giorni di preavviso prima che sia obbligatorio cambiare la password\&. L\*(Aqopzione -\fIAVVISO_GIORNI\fR -indica il numero di giorni precedenti alla scadenza della password durante i quali l\*(Aqutente viene avvertito dell\*(Aqimminente scadenza\&. +Set the number of days of warning before a password change is required\&. The +\fIWARN_DAYS\fR +option is the number of days prior to the password expiring that a user will be warned that their password is about to expire\&. .RE .PP -\fB\-x\fR, \fB\-\-maxdays\fR\ \&\fIMAX_GIORNI\fR +\fB\-x\fR, \fB\-\-maxdays\fR\ \&\fIMAX_DAYS\fR .RS 4 -Imposta il massimo numero di giorni che una password rimane valida\&. Dopo -\fIMAX_GIORNI\fR -viene richiesto di cambiare la password\&. +Set the maximum number of days a password remains valid\&. After +\fIMAX_DAYS\fR, the password is required to be changed\&. .sp -Usare il valore +Passing the number \fI\-1\fR -come -\fIMAX_GIORNI\fR -rimuove il controllo sulla validit\(`a della password\&. +as +\fIMAX_DAYS\fR +will remove checking a password\*(Aqs validity\&. .RE .SH "AVVISI/CAVEAT" .PP @@ -209,73 +212,73 @@ Il controllo della complessit\(`a delle password varia da sistema a sistema\&. A Gli utenti possono non essere in grado di cambiare la propria password se NIS \(`e abilitato ed essi non sono collegati al server NIS\&. .SH "CONFIGURAZIONE" .PP -Le seguenti variabili di configurazione in +The following configuration variables in /etc/login\&.defs -cambiano il comportamento di questo strumento: +change the behavior of this tool: .PP -\fBENCRYPT_METHOD\fR (testo) +\fBENCRYPT_METHOD\fR (string) .RS 4 Definisce l\*(Aqalgoritmo di cifratura predefinito per le password (se non ne viene specificato uno a riga di comando)\&. .sp -Pu\(`o avere uno dei seguenti valori: +It can take one of these values: \fIDES\fR -(predefinito), +(default), \fIMD5\fR, \fISHA256\fR, \fISHA512\fR\&. .sp -Nota: questo parametro ha la precedenza sulla variabile -\fBMD5_CRYPT_ENAB\fR\&. +Note: this parameter overrides the +\fBMD5_CRYPT_ENAB\fR +variable\&. .RE .PP -\fBMD5_CRYPT_ENAB\fR (booleano) +\fBMD5_CRYPT_ENAB\fR (boolean) .RS 4 -Indica se le password vanno cifrate usando l\*(Aqalgoritmo basato su MD5\&. Se impostato a -\fIyes\fR -le nuove password saranno cifrate usando un algoritmo basato su MD5 e compatibile con quello delle versioni pi\(`u recenti di FreeBSD\&. Supporta password di lunghezza qualsiasi e testi \(Fosalt\(Fc pi\(`u lunghi\&. Impostare a +Indicate if passwords must be encrypted using the MD5\-based algorithm\&. If set to +\fIyes\fR, new passwords will be encrypted using the MD5\-based algorithm compatible with the one used by recent releases of FreeBSD\&. It supports passwords of unlimited length and longer salt strings\&. Set to \fIno\fR -se si devono copiare password su altri sistemi che non gestiscono l\*(Aqalgoritmo\&. Il valore predefinito \(`e +if you need to copy encrypted passwords to other systems which don\*(Aqt understand the new algorithm\&. Default is \fIno\fR\&. .sp -Questa variabile ha meno priorit\(`a della variabile +This variable is superseded by the \fBENCRYPT_METHOD\fR -e di qualsiasi opzione a riga di comando che imposta un algoritmo di cifratura\&. +variable or by any command line option used to configure the encryption algorithm\&. .sp -Questa variabile non \(`e pi\(`u usata\&. Si dovrebbe utilizzare +This variable is deprecated\&. You should use \fBENCRYPT_METHOD\fR\&. .RE .PP -\fBOBSCURE_CHECKS_ENAB\fR (booleano) +\fBOBSCURE_CHECKS_ENAB\fR (boolean) .RS 4 Abilita controlli addizionali durante il cambio password\&. .RE .PP -\fBPASS_ALWAYS_WARN\fR (booleano) +\fBPASS_ALWAYS_WARN\fR (boolean) .RS 4 Avvisa riguardo password deboli (anche se le permette egualmente) se si \(`e root\&. .RE .PP -\fBPASS_CHANGE_TRIES\fR (numerico) +\fBPASS_CHANGE_TRIES\fR (number) .RS 4 Massimo numero di tentativi per cambiare una password (troppo facile)\&. .RE .PP -\fBPASS_MAX_LEN\fR (numerico), \fBPASS_MIN_LEN\fR (numerico) +\fBPASS_MAX_LEN\fR (number), \fBPASS_MIN_LEN\fR (number) .RS 4 -Numero di caratteri significativi della password per crypt()\&. +Number of significant characters in the password for crypt()\&. \fBPASS_MAX_LEN\fR -\(`e normalmente 8\&. Da non cambiare a meno che la propria crypt() sia migliore\&. Questo viene ignorato se +is 8 by default\&. Don\*(Aqt change unless your crypt() is better\&. This is ignored if \fBMD5_CRYPT_ENAB\fR -\(`e impostata a +set to \fIyes\fR\&. .RE .PP -\fBSHA_CRYPT_MIN_ROUNDS\fR (numerico), \fBSHA_CRYPT_MAX_ROUNDS\fR (numerico) +\fBSHA_CRYPT_MIN_ROUNDS\fR (number), \fBSHA_CRYPT_MAX_ROUNDS\fR (number) .RS 4 -Quando +When \fBENCRYPT_METHOD\fR -vale +is set to \fISHA256\fR -o -\fISHA512\fR, questo definisce il numero di cicli SHA usati per l\*(Aqalgoritmo di cifratura (quando il numero di cicli non \(`e impostato a riga di comando)\&. +or +\fISHA512\fR, this defines the number of SHA rounds used by the encryption algorithm by default (when the number of rounds is not specified on the command line)\&. .sp Con molti cicli \(`e pi\(`u difficile trovare una password usando la forza bruta\&. Ma va notato che \(`e richiesta maggiore potenza di calcolo per autenticare gli utenti\&. .sp @@ -283,15 +286,16 @@ Se non specificato sar\(`a la libc a scegliere il numero di cicli (5000)\&. .sp Il valore deve essere compreso tra 1\&.000 e 999\&.999\&.999\&. .sp -Se viene impostato solo uno tra +If only one of the \fBSHA_CRYPT_MIN_ROUNDS\fR -e -\fBSHA_CRYPT_MAX_ROUNDS\fR, allora l\*(Aqunico valore viene utilizzato\&. +or +\fBSHA_CRYPT_MAX_ROUNDS\fR +values is set, then this value will be used\&. .sp -Se +If \fBSHA_CRYPT_MIN_ROUNDS\fR > -\fBSHA_CRYPT_MAX_ROUNDS\fR, allora viene utilizzato il maggiore\&. +\fBSHA_CRYPT_MAX_ROUNDS\fR, the highest value will be used\&. .RE .SH "FILE" .PP @@ -311,12 +315,51 @@ Configurazione del pacchetto password shadow .RE .SH "VALORI RESTITUITI" .PP -Il comando +The \fBpasswd\fR -restituisce i seguenti valori: +command exits with the following values: +.PP +\fI0\fR +.RS 4 +success +.RE +.PP +\fI1\fR +.RS 4 +permission denied +.RE +.PP +\fI2\fR +.RS 4 +invalid combination of options +.RE +.PP +\fI3\fR +.RS 4 +unexpected failure, nothing done +.RE +.PP +\fI4\fR +.RS 4 +unexpected failure, +passwd +file missing +.RE +.PP +\fI5\fR +.RS 4 +passwd +file busy, try again +.RE +.PP +\fI6\fR +.RS 4 +invalid argument to option +.RE .SH "VEDERE ANCHE" .PP \fBchpasswd\fR(8), \fBpasswd\fR(5), \fBshadow\fR(5), -\fBlogin.defs\fR(5),\fBusermod\fR(8)\&. +\fBlogin.defs\fR(5), +\fBusermod\fR(8)\&. |