JT
usermod -x '{passwdChooseOwn 0}' -x '{passwdRunGenerator 0}' root
To change root's password, you will have to undo at least one of these:
usermod -x '{passwdChooseOwn 1}' root
John
--
John DuBois spc...@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/
"John DuBois" <spc...@deeptht.armory.com> wrote in message
news:3d10a556$0$79555$8ee...@newsreader.tycho.net...
>In article <aeq6kn$2qih$1...@newsreader.cetlink.net>, JT <j...@wnclnk.com> wrote:
>>I've got a couple of people with access to root on my SCO boxes.
>>Every-now-and-then one of them will blunder the "passwd" command for our
>>users and actually change the root passwd. I've heard that in the actual
>>file that holds these passwords, a modification can be made to disallow
>>anyone from changing the root password with the "passwd" command but I can't
>>find the file. anyone know where it is? thanx
>usermod -x '{passwdChooseOwn 0}' -x '{passwdRunGenerator 0}' root
>To change root's password, you will have to undo at least one of these:
>usermod -x '{passwdChooseOwn 1}' root
> John
Very nice and handy. However, I solved the same problem by having two
root level accounts. I leave the stock Bourne shell "root" login
alone so that all the shell scripts work as expected. I then add
"rootksh" (root login with Korn Shell), and sometimes "rootcsh" (if I
feel masochistic). Any of these logins will get me root level
permissions, but with different shells and environments.
--
Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
(831)421-6491 pgr (831)426-1240 fax (831)336-2558 home
http://www.LearnByDestroying.com WB6SSY
je...@comix.santa-cruz.ca.us je...@cruzio.com