Web Hosting Talk







View Full Version : New user account


dlc2000
11-11-2003, 09:57 AM
Hello,

how can i make a new user account on a redhat box from ssh with root access?

thx

HaShoo
11-11-2003, 08:52 PM
There are plenty of ways to do that...

you can add a normal user then afterwards edit the /etc/passwd file and change his uid and gid to 0 eg.
user:x:0:0::/home/user:/bin/bash

Hope that works.. Or if you need to know more then ill glad to point out a copule of more ways to do that..

ringnebula
11-11-2003, 09:17 PM
dlc2000 do you want to create a user that has root access or create a user using root access? They are two entirely different things. If you do want to add a user that has root access HaShoo was on the right track. He didn't mention though that useradd would be the command to run though to add the account initially.

CS-Stacie
11-12-2003, 01:57 AM
edited (already answered)

dlc2000
11-12-2003, 09:44 AM
yes i want add a new user with root access bcs the ROOT username is disable