LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-26-2007, 04:53 AM   #1
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Rep: Reputation: 30
i have trouble adding users using the root...


i've been trying this command "useradd NAME" using the root, but the terminal's response is "bash: useradd: command not found"..is there something wrong with my config or did i lack some apps when i installed linux...btw, im using fedora core(is there any difference wit other linux distribution like fedora core vs. ubuntu)...thanks...
 
Old 04-26-2007, 05:03 AM   #2
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 31
try
Code:
/usr/sbin/useradd NAME
failing that
Code:
find / -name useradd
should find where the file is.
 
Old 04-26-2007, 05:27 AM   #3
stealth_banana
Member
 
Registered: Mar 2004
Location: Scotland
Distribution: Debian Sid / Kubuntu
Posts: 170

Rep: Reputation: 30
adduser NAME?
 
Old 04-26-2007, 07:36 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Using RHEL4, I often had to type "su -" to get the root environment before certain commands would work. No such annoyances with Mepis/Ubuntu.

It is all about how the PATH variable is set. When you use "su" to take on root powers, you still have the PATH of your username.
 
Old 04-27-2007, 12:01 AM   #5
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by rednuht
try
Code:
/usr/sbin/useradd NAME
failing that
Code:
find / -name useradd
should find where the file is.
dude, it worked well...uhhmmmm...what about adding the password for the user..heheh
 
Old 04-27-2007, 05:52 PM   #6
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
Quote:
Originally Posted by jaepi
dude, it worked well...uhhmmmm...what about adding the password for the user..heheh
to change a password:

Code:
passwd user newpassword
Run as root or sudo of course
 
  


Reply


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
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
Adding abilities for non-root users? And3rew Linux - Newbie 6 04-15-2007 04:48 PM
group creation + adding users without root permission rblampain Programming 5 05-12-2006 07:55 PM
Adding Java to root users PATH? infornography Linux - Newbie 5 05-26-2005 07:49 AM
Allright, changed root password and questions about adding users RIOMX Linux - Newbie 2 10-30-2003 03:28 PM


All times are GMT -5. The time now is 09:39 AM.

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