root password in a .py script
Cameron Laird
claird at lairds.com
Sat Mar 13 13:46:03 EST 2004
In article <7x3c8d9x8i.fsf at ruckus.brouhaha.com>,
Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote:
>Ben Finney <bignose-hates-spam at and-benfinney-does-too.id.au> writes:
>> No, that makes the increasingly incorrect assumption that the passwords
>> are stored and accessed via those files. Many systems use NIS or LDAP
>> or other protocol-based account table management methods, and the
>> 'passwd' command is often set up to use that method. Affecting /etc/*
>> files in such a case would have no effect on the root password.
>
>The OP isn't asking about how to do it on "many systems", he's asking
>how to do it on a specific system (Mac OS X). If he can find a way that
>works on that system, he doesn't have to worry about other systems.
MacOS X *can* use LDAP and such, but, I agree, it seems that's not
one of the considerations of the original poster.
--
Cameron Laird <claird at phaseit.net>
Business: http://www.Phaseit.net
More information about the Python-list
mailing list