Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-24-2004, 10:51 PM   #1
Registered: Mar 2004
Location: uk
Distribution: fedora2, slackware10
Posts: 54

Rep: Reputation: 15
Fedora - adduser/useradd doesn't work

I'm using fedora 1, when I tried to create a new user in command line using adduser/useradd, it doesn't work???please help

[root@localhost etc]# useradd
bash: useradd: command not found
Old 03-24-2004, 11:10 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Try /sbin/useradd or /usr/sbin/useradd.

Check your $PATH variable. Is /sbin in the path?
Old 03-25-2004, 03:59 AM   #3
Registered: Mar 2004
Location: uk
Distribution: fedora2, slackware10
Posts: 54

Original Poster
Rep: Reputation: 15
Originally posted by jschiwal
Try /sbin/useradd or /usr/sbin/useradd.

Check your $PATH variable. Is /sbin in the path?

thanks, i found the adduser/useradd in /usr/sbin, and i used

export PATH=$PATH:/usr/sbin, to set the path variable, but after a reboot, i will have to set the path again, is any way to set the $path once , so each time it reboot, the will automatically set the path


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 things: startx and useradd don't work ckent47 Linux - Software 4 08-27-2005 06:07 PM
adduser and passwrd in Fedora 1.92 is producing errors Rich@Termisoc Linux - General 5 03-20-2005 03:19 PM
commands: adduser and useradd kurrupt Linux - Security 2 10-19-2004 11:47 PM
Easy problem??? Can't find adduser or useradd in fresh install of Fedora jdruin Linux - Newbie 3 02-21-2004 10:57 PM
Adduser... Chijtska Linux - General 5 02-15-2002 07:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration