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

273 lines
6.1 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: Polecenia użytkownik&oacute;w (1)<BR>Updated: 05/28/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>NAZWA</H2>
chage - zmiana informacji o terminie ważności has&#x142;a użytkownika
<A NAME="lbAC">&nbsp;</A>
<H2>STRESZCZENIE</H2>
<DL COMPACT>
<DT id="1">
<B>chage</B> [<I>opcje</I>] <I>LOGIN</I>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>OPIS</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>OPCJE</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>
Ustawia ilość dni od 1 stycznia 1970 kiedy ha&#x142;o by&#x142;o ostani raz zmieniane. Data ważności może być takze prezekazana w formacie RRRR-MM-DD (lub formacie używanym lokalnie).
</DL>
<P>
<B>-E</B>, <B>--expiredate</B>&nbsp;<I>EXPIRE_DATE</I>
<DL COMPACT><DT id="3"><DD>
Ustawia datę, począwszy od kt&oacute;rej konto użytkownika nie będzie już dostępne.
<I>DATA_WAŻN</I>
jest liczbą dni od 1 stycznia 1970, od kt&oacute;rej konto jest blokowane. Data może być też wyrażona w formacie RRRR-MM-DD (lub innej, powszechniej używanej w danym regionie). Użytkownik, kt&oacute;rego konto jest zablokowane musi skontaktować się z administratorem systemu zanim będzie m&oacute;g&#x142; z niego ponownie skorzystać.
<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>
Wyświetlenie komunikatu pomocy i zakończenie dzia&#x142;ania.
</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>
Wyświetlenie informacji o terminach ważności konta i has&#x142;a.
</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>UWAGI</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>CONFIGURATION</H2>
<P>
The following configuration variables in
/etc/login.defs
change the behavior of this tool:
<A NAME="lbAH">&nbsp;</A>
<H2>PLIKI</H2>
<P>
/etc/passwd
<DL COMPACT><DT id="12"><DD>
Informacja o kontach użytkownik&oacute;w.
</DL>
<P>
/etc/shadow
<DL COMPACT><DT id="13"><DD>
Informacje chronione o użytkownikach.
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>KOD ZAKOŃCZENIA</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>ZOBACZ TAKŻE</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">NAZWA</A><DD>
<DT id="19"><A HREF="#lbAC">STRESZCZENIE</A><DD>
<DT id="20"><A HREF="#lbAD">OPIS</A><DD>
<DT id="21"><A HREF="#lbAE">OPCJE</A><DD>
<DT id="22"><A HREF="#lbAF">UWAGI</A><DD>
<DT id="23"><A HREF="#lbAG">CONFIGURATION</A><DD>
<DT id="24"><A HREF="#lbAH">PLIKI</A><DD>
<DT id="25"><A HREF="#lbAI">KOD ZAKOŃCZENIA</A><DD>
<DT id="26"><A HREF="#lbAJ">ZOBACZ TAKŻE</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:20 GMT, March 31, 2021
</BODY>
</HTML>