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 02-07-2001, 09:10 PM   #1
gord
LQ Newbie
 
Registered: Feb 2001
Posts: 1

Rep: Reputation: 0
Exclamation


I am using a new redhad install and i can't seem to get the useradd or groupadd commands to work. and apache won't start without a user and group for the clients accessing the website?????

Gord Baker
 
Old 02-08-2001, 06:29 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Try using adduser with the name following, but I tried the same for groupadd and addgroup, both of those didn't work for me. You can always manually add them in to /etc/group with the format

group_name: passwd(keep blank if you want no password):GID:user_list separated by commas

Hope this helps, but I do know for sure the adduser will add the user for you.

Drew
 
Old 02-08-2001, 06:34 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Alright, I was playing around, and I was trying to add group names I didn't already have, and then all of a sudden it was taking them. What is the error when you try to add groups with groupadd? I was getting error's, then going back trying to add the same group name again, then it was telling me the group already exists. Hmmmmmm

Let me know.....Also this is within RH 7.0 as well.
 
Old 02-08-2001, 08:42 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
gord,
Try typing /usr/sbin/groupadd or adding /usr/sbin to your path.
 
  


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
adduser jp_ Linux - General 6 10-18-2005 02:11 PM
addgroup from command line m2azer Linux - Newbie 5 10-31-2004 08:34 PM
mysql cant addgroup? Command not found? dwarf007 Linux - Newbie 5 09-19-2004 03:42 PM
adduser how? hraposo Slackware 8 08-20-2004 07:35 AM
Adduser... Chijtska Linux - General 5 02-15-2002 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 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