root password in a .py script

Peter Hansen peter at engcorp.com
Sat Mar 13 10:10:06 EST 2004


Bart Nessux wrote:

> Why am I doing this? Because users turn off ssh and change the root 
> password. Mac OSX allows "administrative" users to do this. This script 
> undoes their changes.

Another question no one has asked: if you're trying to get central 
control in a situation like this, why the heck do the users even know 
the root password for their machines in the first place?  Can't you 
reserve that for administrative use by the IT types, and give users safe 
userids which _cannot_ do what you are saying they do to screw up the 
systems?

-Peter



More information about the Python-list mailing list