man-pages/it/man1/chage.1.html
2021-03-31 01:06:50 +01:00

271 lines
6.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of CHAGE</TITLE>
</HEAD><BODY>
<H1>CHAGE</H1>
Section: Comandi utente (1)<BR>Updated: 28/05/2020<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NOME</H2>
chage - cambia le informazioni sulla scadenza della password
<A NAME="lbAC">&nbsp;</A>
<H2>SINOSSI</H2>
<DL COMPACT>
<DT id="1">
<B>chage</B> [<I>opzioni</I>] <I>LOGIN</I>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIZIONE</H2>
<P>
<DD>The
<B>chage</B>
command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change their password.
<A NAME="lbAE">&nbsp;</A>
<H2>OPZIONI</H2>
<P>
The options which apply to the
<B>chage</B>
command are:
<P>
<B>-d</B>, <B>--lastday</B>&nbsp;<I>LAST_DAY</I>
<DL COMPACT><DT id="2"><DD>
Imposta la data dell'ultimo cambio della password, espressa come il numero di giorni trascorsi dal 1 gennaio 1970. La data pu&ograve; anche essere specificata nel formato AAAA-MM-GG o nella notazione comunemente usata nel proprio paese.
</DL>
<P>
<B>-E</B>, <B>--expiredate</B>&nbsp;<I>EXPIRE_DATE</I>
<DL COMPACT><DT id="3"><DD>
Imposta la data o il numero di giorni dal 1 gennaio 1970 dal quale l'account utente non sar&agrave; pi&ugrave; accessibile. La data pu&ograve; essere inserita nel formato AAAA-MM-GG (o il formato pi&ugrave; comunemente utilizzato nel proprio paese). Un utente il cui account sia bloccato deve contattare l'amministratore di sistema prima di poter accedere nuovamente al sistema.
<P>
Passing the number
<I>-1</I>
as the
<I>EXPIRE_DATE</I>
will remove an account expiration date.
</DL>
<P>
<B>-h</B>, <B>--help</B>
<DL COMPACT><DT id="4"><DD>
Mostra un messaggio di aiuto ed esce.
</DL>
<P>
<B>-i</B>, <B>--iso8601</B>
<DL COMPACT><DT id="5"><DD>
When printing dates, use YYYY-MM-DD format.
</DL>
<P>
<B>-I</B>, <B>--inactive</B>&nbsp;<I>INACTIVE</I>
<DL COMPACT><DT id="6"><DD>
Set the number of days of inactivity after a password has expired before the account is locked. The
<I>INACTIVE</I>
option is the number of days of inactivity. A user whose account is locked must contact the system administrator before being able to use the system again.
<P>
Passing the number
<I>-1</I>
as the
<I>INACTIVE</I>
will remove an account's inactivity.
</DL>
<P>
<B>-l</B>, <B>--list</B>
<DL COMPACT><DT id="7"><DD>
Visualizza le informazioni sulla scadenza dell'account.
</DL>
<P>
<B>-m</B>, <B>--mindays</B>&nbsp;<I>MIN_DAYS</I>
<DL COMPACT><DT id="8"><DD>
Set the minimum number of days between password changes to
<I>MIN_DAYS</I>. A value of zero for this field indicates that the user may change their password at any time.
</DL>
<P>
<B>-M</B>, <B>--maxdays</B>&nbsp;<I>MAX_DAYS</I>
<DL COMPACT><DT id="9"><DD>
Set the maximum number of days during which a password is valid. When
<I>MAX_DAYS</I>
plus
<I>LAST_DAY</I>
is less than the current day, the user will be required to change their password before being able to use their account. This occurrence can be planned for in advance by use of the
<B>-W</B>
option, which provides the user with advance warning.
<P>
Passing the number
<I>-1</I>
as
<I>MAX_DAYS</I>
will remove checking a password's validity.
</DL>
<P>
<B>-R</B>, <B>--root</B>&nbsp;<I>CHROOT_DIR</I>
<DL COMPACT><DT id="10"><DD>
Apply changes in the
<I>CHROOT_DIR</I>
directory and use the configuration files from the
<I>CHROOT_DIR</I>
directory.
</DL>
<P>
<B>-W</B>, <B>--warndays</B>&nbsp;<I>WARN_DAYS</I>
<DL COMPACT><DT id="11"><DD>
Set the number of days of warning before a password change is required. The
<I>WARN_DAYS</I>
option is the number of days prior to the password expiring that a user will be warned their password is about to expire.
</DL>
<P>
If none of the options are selected,
<B>chage</B>
operates in an interactive fashion, prompting the user with the current values for all of the fields. Enter the new value to change the field, or leave the line blank to use the current value. The current value is displayed between a pair of
<I>[ ]</I>
marks.
<A NAME="lbAF">&nbsp;</A>
<H2>NOTA</H2>
<P>
The
<B>chage</B>
program requires a shadow password file to be available.
<P>
The
<B>chage</B>
command is restricted to the root user, except for the
<B>-l</B>
option, which may be used by an unprivileged user to determine when their password or account is due to expire.
<A NAME="lbAG">&nbsp;</A>
<H2>CONFIGURAZIONE</H2>
<P>
The following configuration variables in
/etc/login.defs
change the behavior of this tool:
<A NAME="lbAH">&nbsp;</A>
<H2>FILE</H2>
<P>
/etc/passwd
<DL COMPACT><DT id="12"><DD>
Informazioni sugli account utente.
</DL>
<P>
/etc/shadow
<DL COMPACT><DT id="13"><DD>
Informazioni sicure sugli account utente.
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>VALORI RESTITUITI</H2>
<P>
The
<B>chage</B>
command exits with the following values:
<P>
<I>0</I>
<DL COMPACT><DT id="14"><DD>
success
</DL>
<P>
<I>1</I>
<DL COMPACT><DT id="15"><DD>
permission denied
</DL>
<P>
<I>2</I>
<DL COMPACT><DT id="16"><DD>
invalid command syntax
</DL>
<P>
<I>15</I>
<DL COMPACT><DT id="17"><DD>
can't find the shadow password file
</DL>
<A NAME="lbAJ">&nbsp;</A>
<H2>VEDERE ANCHE</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?5+passwd">passwd</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+shadow">shadow</A></B>(5).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="18"><A HREF="#lbAB">NOME</A><DD>
<DT id="19"><A HREF="#lbAC">SINOSSI</A><DD>
<DT id="20"><A HREF="#lbAD">DESCRIZIONE</A><DD>
<DT id="21"><A HREF="#lbAE">OPZIONI</A><DD>
<DT id="22"><A HREF="#lbAF">NOTA</A><DD>
<DT id="23"><A HREF="#lbAG">CONFIGURAZIONE</A><DD>
<DT id="24"><A HREF="#lbAH">FILE</A><DD>
<DT id="25"><A HREF="#lbAI">VALORI RESTITUITI</A><DD>
<DT id="26"><A HREF="#lbAJ">VEDERE ANCHE</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:04 GMT, March 31, 2021
</BODY>
</HTML>