summaryrefslogtreecommitdiff
path: root/man/pl/man1/chage.1
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2021-11-07 15:18:49 +0100
committerBalint Reczey <balint@balintreczey.hu>2021-11-07 15:18:49 +0100
commit749c1780621163ca5108f164861324bafa9e0ae8 (patch)
tree51001872624a692018c45bf39276df94b603fb19 /man/pl/man1/chage.1
parentd906ecd3b652d95af6ffb974a2f6669501bb9496 (diff)
downloadshadow-749c1780621163ca5108f164861324bafa9e0ae8.tar.gz
New upstream version 4.9upstream/4.9
Diffstat (limited to 'man/pl/man1/chage.1')
-rw-r--r--man/pl/man1/chage.133
1 files changed, 29 insertions, 4 deletions
diff --git a/man/pl/man1/chage.1 b/man/pl/man1/chage.1
index 135c8083..10fc1368 100644
--- a/man/pl/man1/chage.1
+++ b/man/pl/man1/chage.1
@@ -2,12 +2,12 @@
.\" Title: chage
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\" Date: 01/23/2020
+.\" Date: 07/22/2021
.\" Manual: Polecenia użytkownik\('ow
-.\" Source: shadow-utils 4.8.1
+.\" Source: shadow-utils 4.9
.\" Language: Polish
.\"
-.TH "CHAGE" "1" "01/23/2020" "shadow\-utils 4\&.8\&.1" "Polecenia użytkownik\('ow"
+.TH "CHAGE" "1" "07/22/2021" "shadow\-utils 4\&.9" "Polecenia użytkownik\('ow"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -45,7 +45,11 @@ command are:
.PP
\fB\-d\fR, \fB\-\-lastday\fR\ \&\fILAST_DAY\fR
.RS 4
-Ustawia ilość dni od 1 stycznia 1970 kiedy ha\(/lo by\(/lo ostani raz zmieniane\&. Data ważności może być takze prezekazana w formacie RRRR\-MM\-DD (lub formacie używanym lokalnie)\&.
+Set the number of days since January 1st, 1970 when the password was last changed\&. The date may also be expressed in the format YYYY\-MM\-DD (or the format more commonly used in your area)\&. If the
+\fILAST_DAY\fR
+is set to
+\fI0\fR
+the user is forced to change his password on the next log on\&.
.RE
.PP
\fB\-E\fR, \fB\-\-expiredate\fR\ \&\fIEXPIRE_DATE\fR
@@ -54,6 +58,19 @@ Ustawia datÄ™, poczÄ…wszy od kt\('orej konto użytkownika nie bÄ™dzie już dostÄ
\fIDATA_WAŻN\fR
jest liczbą dni od 1 stycznia 1970, od kt\('orej 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\('orego konto jest zablokowane musi skontaktować się z administratorem systemu zanim będzie m\('og\(/l z niego ponownie skorzystać\&.
.sp
+For example the following can be used to set an account to expire in 180 days:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+ chage \-E $(date \-d +180days +%Y\-%m\-%d)
+
+.fi
+.if n \{\
+.RE
+.\}
+.sp
Passing the number
\fI\-1\fR
as the
@@ -139,6 +156,14 @@ The
\fBchage\fR
program requires a shadow password file to be available\&.
.PP
+The chage program will report only the information from the shadow password file\&. This implies that configuration from other sources (e\&.g\&. LDAP or empty password hash field from the passwd file) that affect the user\*(Aqs login will not be shown in the chage output\&.
+.PP
+The
+\fBchage\fR
+program will also not report any inconsistency between the shadow and passwd files (e\&.g\&. missing x in the passwd file)\&. The
+\fBpwck\fR
+can be used to check for this kind of inconsistencies\&.
+.PP
The
\fBchage\fR
command is restricted to the root user, except for the