Web Hosting Talk







View Full Version : how do I change my root password?


sleggtools
01-24-2002, 07:14 PM
how do I change my root password on a RAQ4?

311
01-24-2002, 08:27 PM
nothing, I posted down the wrong info... Go on...

hypernatic.net
01-24-2002, 08:32 PM
Originally posted by sleggtools
how do I change my root password on a RAQ4?

Well you can do it through the control panel, it's somewhere under maintainance I believe..
Or you can login to your box, (SSH!!), su, and type "passwd"

Chicken
01-25-2002, 02:49 AM
If you can do it that way, then more power to ya' (meaning it just isn't how I've always done it)...

passwd root

hypernatic.net
01-25-2002, 09:53 AM
Sorry its in the "Administration" section and not in maintainance :)

Ehm, chicken, "passwd" (just passwd) will change the pass for the CURRENT user (being root when you SU)

passwd <user> is a command for root, this way he can change any user's password

jahsh
01-29-2002, 05:12 PM
actually passwd root will do it:rolleyes:

Chicken
01-29-2002, 05:35 PM
Ok, so half a dozen of one... blah blah blah, so long as it works. next time I'll save myself typing four extra characters :D

Cyborg
01-30-2002, 12:05 AM
/usr/bin/passwd (change root pw)
cp /etc/passwd /etc/passwd.local (to copy pw file to the right directory)

Cyborg

shortfork
01-30-2002, 03:40 AM
Originally posted by hypernatic.net
Well you can do it through the control panel, it's somewhere under maintainance I believe..
Or you can login to your box, (SSH!!), su, and type "passwd" Nope.. Can not do it via the cp... You can change the *admin* password there, and if you've already made a separate root password, you just hosed it when you change admin passwords in the cp... It will overwrite and make both same same..

Gotta do the root password change via the command line..

ShortwishIcouldrememberexactlyhow

XTStrike
01-30-2002, 05:25 AM
lol, i'd say the procedure for changing a root password would be "VERY Carefully" lol :D

and using passwd :-)

Originally posted by sleggtools
how do I change my root password on a RAQ4?