LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Add newuser (https://www.linuxquestions.org/questions/linux-newbie-8/add-newuser-381294/)

thachp 11-08-2005 09:35 PM

Add newuser
 
Hello Everyone. I got myself a dedicated server from Godaddy.com. Server is on Fedora Core 2.0. I'm trying to add a new user to the box, but somehow i keep on getting this message. Can you help me out please? Here's what I did...

#su root
entered my password
#adduser dude2cool

Here's the error.
Quote:

bash: adduser: command not found

mcmillan 11-08-2005 10:04 PM

The command is useradd, not adduser, should work that way

homey 11-08-2005 10:10 PM

It doesn't matter which of those commands you use as adduser links to useradd.
ls -al /usr/sbin |more
lrwxrwxrwx 1 root root 7 Sep 27 22:55 adduser -> useradd

It would likely work better if you use a dash ( su - ) or the full path to command: /usr/sbin/adduser

thachp 11-08-2005 10:57 PM

Quote:

It would likely work better if you use a dash ( su - ) or the full path to command: /usr/sbin/adduser
Thank you :) Problem resolved.


All times are GMT -5. The time now is 09:05 PM.