[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chaging Passwords



I'm doing Perl now, maybe I can help.
-----Original Message-----
From: Adam Williams <awilliam@whitemice.org>
To: klug@klug.armintl.com <klug@klug.armintl.com>
Date: Monday, December 07, 1998 5:46 PM
Subject: Re: Chaging Passwords


>On Dec 7,  3:43pm, ryanm wrote:
>> Subject: Chaging Passwords
>> Hello Fellow UNIX people,
>>
>> Is there a way I can change a user's password without calling the passwd
>> command??
>> I am trying to change the passwords of some 5000 users and want it to
>> take effect
>> sometime in january but need to manipulate a copy of /etc/shadow and
>> /etc/passwd
>> and then at the time announced copy these files over. Is there an easy
>> way of doing
>> this??? If anyone has any info or thought please let me know.
>>
>
>Of course, this is UNIX.  You can easily find the source code for the
password
>command (one file: passwd.c) and cut and paste the change routine into your
own
>code, compile, and BING!  I've also seen password change routines writen in
>perl,  but I know C and not perl.  I've done alot of hacking on the
security
>subsysten so when you know exactly what you want to do let me know.
>