Bug 98081 - useradd command does not work
Summary: useradd command does not work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 2.8
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-26 06:34 UTC by Dan
Modified: 2007-04-18 16:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-23 21:54:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan 2003-06-26 06:34:40 UTC
Description of problem:
when one wants to add a user from the command line interface they would use the
useradd <username> command this error always comes up
bash: useradd: command not found

Version-Release number of selected component (if applicable):bash version 2.05b


How reproducible:every time you try to add a user from the command line


Steps to Reproduce:
1.go into su mode
2.type useradd <username>
3."bash: useradd: command not found" comes out as message
    
Actual results:


Expected results:


Additional info:

Comment 1 Erik S. LaBianca 2004-08-18 16:04:39 UTC
This probably isn't really a bug. Use su - to bring in the "superuser
relevant" path (adding /sbin and /usr/sbin), and the useradd command
will be available. Or configure sudo and use sudo /usr/sbin/useradd


Note You need to log in before you can comment on or make changes to this bug.