Article View: es.comp.os.linux.programacion
Article #6422Re: bash y passwd
From: Alvaro G. Vicario
Date: Tue, 01 Jul 2003 10:47
Date: Tue, 01 Jul 2003 10:47
37 lines
2619 bytes
2619 bytes
"Pacolinx" <pacolinux@QUITAMEinicia.com> escribi� en el mensaje
news:pj28t-n35.ln1@paco.aldarias.org...
> Me sale este mensaje de error:
>
> passwd: opci�n inv�lida -- -
> usage: passwd [-f|-s] [name]
> passwd [-x max] [-n min] [-w warn] [-i inact] name
> passwd {-l|-u|-d|-S|-e} name
Vale, parece que tu programa "passwd" es diferente y no admite dicha opci�n.
El que tengo yo es as�:
# passwd --help
Usage: passwd [OPTION...] <accountName>
-k, --keep-tokens keep non-expired authentication tokens
-d, --delete delete the password for the named account (root
only)
-l, --lock lock the named account (root only)
-u, --unlock unlock the named account (root only)
-f, --force force operation
-x, --maximum=DAYS maximum password lifetime (root only)
-n, --minimum=DAYS minimum password lifetime (root only)
-w, --warning=DAYS number of days warning users receives before
password expiration (root only)
-i, --inactive=DAYS number of days after password expiration when an
account becomes disabled (root only)
-S, --status report password status on the named account (root
only)
--stdin read new tokens from stdin (root only)
Help options:
-?, --help Show this help message
--usage Display brief usage message
# rpm -qf `which passwd`
passwd-0.67-1
Technical Details
Message-ID:
<bdrosm$vsou7$1@ID-157797.news.dfncis.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mailReferences:
<5d17t-np2.ln1@paco.aldarias.org> <bdri9s$v2nsm$1@ID-157797.news.dfncis.de> <pj28t-n35.ln1@paco.aldarias.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f86c8,b99178322063b7d9 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-07-01 03:47:57 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail From: "Alvaro G. Vicario" <alvaro.QUITAR_REMOVE@telecomputeronline.net> Newsgroups: es.comp.os.linux.programacion Subject: Re: bash y passwd Date: Tue, 1 Jul 2003 12:47:38 +0200 Lines: 39 Message-ID: <bdrosm$vsou7$1@ID-157797.news.dfncis.de> References: <5d17t-np2.ln1@paco.aldarias.org> <bdri9s$v2nsm$1@ID-157797.news.dfncis.de> <pj28t-n35.ln1@paco.aldarias.org> NNTP-Posting-Host: 10.red-80-37-15.pooles.rima-tde.net (80.37.15.10) X-Trace: fu-berlin.de 1057056476 33448903 80.37.15.10 (16 [157797]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165