Results 1 to 4 of 4
I tried to add a new user using the command line commands "useradd" and
"adduser" but with no luck. The user names are added but i cannot login
into the ...
- 11-24-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 7
Add user in Unix from command Line in CentOS
I tried to add a new user using the command line commands "useradd" and
"adduser" but with no luck. The user names are added but i cannot login
into the system using the just created username and password. Whats
wrong?? y isint it working??
And also i wanted to know that when i login as a regular user and then
use "su" in the terminal and then as root in the terminal try to do
"adduser" command it says "bash command not found". why does this
happen. im a superuser in the terminal and y cant i execute the
"adduser" command.
And finally i would like to know if there is a way to manually add a
user in the centos remotely from the command line. This is very
important to me right now.
any advice is welcomed.
thanx in advance
- 11-24-2006 #2I'm haven't tried this in CentOS but i assume you forgot:
Originally Posted by thecoolone
(as root) set the password for this user.Code:passwd <username>
You did not mention it anyways ...Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
<~ http://www.linuxcommand.org/ ~>
- 11-24-2006 #3"useradd" is to add an existing user to a group.
Originally Posted by thecoolone
You'll need it as well once you have created your user.
This is what you want.
Originally Posted by thecoolone
I believe muha answer is the right one for you.
If you want more details, check out this thread :
http://www.linuxforums.org/forum/deb...-new-user.html"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 11-26-2006 #4Just Joined!
- Join Date
- Nov 2006
- Posts
- 7
thank you for your replies.



