[98535] in RedHat Linux List
Re: passwd/shadow parsing script
daemon@ATHENA.MIT.EDU (dreamwvr)
Mon Nov 9 17:11:19 1998
Date: Mon, 09 Nov 1998 12:42:04 -0700
To: redhat-list@redhat.com, redhat-list@redhat.com
From: dreamwvr <dreamwvr@dreamwvr.com>
In-Reply-To: <3646FCA9.626533CB@mindless.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
hi,
this would probably be a easier way to go... and be less reinventing
of the wheel;') than a completely custom script.
Regards,
dreamwvr@dreamwvr.com
At 02:31 PM 11/9/98 +0000, Fred Whipple wrote:
>Toby Herring wrote:
>>
>> Anyone know where I can find a shell script (bash) or Perl script (5.04)
>> that will parse the entries in /etc/passwd or /etc/shadow (depending on
>> installation, obviously), find a specific user, and replace a specific
field
>> of the entry? (This time around, I want to remove the password, but in the
>> future I may want to use it to manipulate other fields.)
>
>Having just read another answer regarding usermod, and asking a question
>about it myself, it seems to me that if there isn't a pre-written script
>that you could easily make the usermod command a centerpiece in yourown,
>assuming that you can at least do a *little* shell scripting...
>
> -Fred
Reuters, London, February 29, 1998:
Scientists have announced discovering a meteorite which will strike the
earth in March, 2028. Millions of UNIX coders expressed relief for being
spared the UNIX epoch "crisis" of 2038.
_______________________________________________________________________
DREAMWVR.COM - TOTAL WEB INTEGRATION, DEVELOPMENT, DESIGN SERVICES.
Featuring Website Development and Web Strategies of a TOP Developer
<http://www.dreamwvr.com/dynamicduo.html> <mailto:dreamwvr@dreamwvr.com>
"As Unique as the Company You Keep." "===0 PGP Key Available
________________________________________________________________________
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.