LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-08-2003, 01:38 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
groupadd


Running RH9.
I have in /usr/sbin the file groupadd. Definitely!
However, when I enter groupadd in a terminal, as root, I get "command not found"
Anyone know what might be wrong?
Thanks Peter
 
Old 11-08-2003, 02:00 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/usr/sbin is not in root's path by default on your distro. You have a few options:
1. run it with full path:
/usr/sbin/groupadd
2. cd to /usr/sbin and run it:
cd /usr/sbin
./groupadd
3. Add /usr/sbin to root's path (search the boards as there are multiple ways to adjust your PATH).

Cool
 
Old 11-08-2003, 04:31 AM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Thanks, that did it!!
 
Old 11-08-2003, 11:58 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome

Cool
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
groupadd and perl-cgi server-solution Linux - Software 4 12-04-2005 04:51 PM
usermod and groupadd meDream Linux - Newbie 0 10-05-2005 05:01 AM
groupadd & permissions Scrag Linux - Security 1 07-05-2004 02:44 PM
Groupadd and useradd for RH 8.0 ??? edhan Linux - Newbie 12 10-07-2003 11:08 PM
case sensitive groupadd? sysmaster Linux - General 0 07-28-2003 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:08 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
Open Source Consulting | Domain Registration