🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #6423

Re: bash y passwd

#6423
From: Pacolinx
Date: Tue, 01 Jul 2003 15:19
70 lines
4077 bytes
Alvaro G. Vicario wrote:

> "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

Yo uso debian sid.passwd --help
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
pacohost:~# dpkg -s passwd | grep Version
Version: 1:4.0.3-8

Y como ves tienes opciones distintas


-- 
          |||
         (o o)
          (_)
--oOOo-oOOo--------------------------------------------------------
Paco.  pacolinux ARROBA inicia PUNTO com http://pagina.de/pacodebian
Valencia ( Espa�a ) .
Linux Reg.User: #287.309. Linux machine: #168.816.  http://counter.li.org/
--
Desaparece la informatica.en la ense�anza:
http://usuario.tiscali.es/paco25abril/optativa-linuxdoc.html

---
Debian Sid (2.4.20). AMD K6-II. 450 RAM 320
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org
iEkEIBECAAkFAjvxD8cCHQIACgkQdJh7olYT17TOvQCeNcsAPeIuML486fkL5Na984iM4jAAniajKMjXNoaJvxjAIu40/IV7loFp=MjXB
-----END PGP PUBLIC KEY BLOCK---------------------------------------
Technical Details
Message-ID: <5cl8t-p62.ln1@paco.aldarias.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!nsnmpen1-lo.nuria.telefonica-data.net!nsnmpen2-lo.nuria.telefonica-data.net!paco.aldarias.org!news
References: <5d17t-np2.ln1@paco.aldarias.org> <bdri9s$v2nsm$1@ID-157797.news.dfncis.de> <pj28t-n35.ln1@paco.aldarias.org> <bdrosm$vsou7$1@ID-157797.news.dfncis.de>

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 08:30:56 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!nsnmpen1-lo.nuria.telefonica-data.net!nsnmpen2-lo.nuria.telefonica-data.net!paco.aldarias.org!news
From: Pacolinx <pacolinux@QUITAMEinicia.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: bash y passwd
Date: Tue, 01 Jul 2003 17:19:01 +0200
Organization: Servidor privado leafnode
Lines: 73
Message-ID: <5cl8t-p62.ln1@paco.aldarias.org>
References: <5d17t-np2.ln1@paco.aldarias.org> <bdri9s$v2nsm$1@ID-157797.news.dfncis.de> <pj28t-n35.ln1@paco.aldarias.org> <bdrosm$vsou7$1@ID-157797.news.dfncis.de>
Reply-To: pacolinux@QUITAMEinicia.com
NNTP-Posting-Host: 237.red-217-127-45.pooles.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8Bit
X-Trace: nsnmpen2-gest.nuria.telefonica-data.net 1057073456 13788 217.127.45.237 (1 Jul 2003 15:30:56 GMT)
X-Complaints-To: usenet@nsnmpen2-gest.nuria.telefonica-data.net
NNTP-Posting-Date: Tue, 1 Jul 2003 15:30:56 +0000 (UTC)
Mail-Copies-To: pacolinux@QUITAMEinicia.es
User-Agent: KNode/0.7.2