🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: bash y passwd

#6418
From: Alvaro G. Vicario
Date: Tue, 01 Jul 2003 08:55
14 lines
1320 bytes
"Pacolinx" <pacolinux@QUITAMEinicia.com> escribi� en el mensaje
news:5d17t-np2.ln1@paco.aldarias.org...
> clave=a
> alumno=b
> echo $clave | passwd --stdin $alumno
>
> Algien sabe como se haria?

Pues realmente es como lo haces. Yo lo tengo as� en un script y me funciona
sin problemas:

echo $contrasena | passwd --stdin $usuario

�Te da alg�n mensaje o simplemente no la cambia?
Technical Details
Message-ID: <bdri9s$v2nsm$1@ID-157797.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!10.red-80-37-15.pooles.rima-tde.NET!not-for-mail
References: <5d17t-np2.ln1@paco.aldarias.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,b99178322063b7d9
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-07-01 01:55:26 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!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 10:55:24 +0200
Lines: 16
Message-ID: <bdri9s$v2nsm$1@ID-157797.news.dfncis.de>
References: <5d17t-np2.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 1057049725 32595862 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