LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   adduser addgroup Redhat 7 (https://www.linuxquestions.org/questions/linux-newbie-8/adduser-addgroup-redhat-7-a-802/)

gord 02-07-2001 09:10 PM

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

trickykid 02-08-2001 06:29 AM

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

trickykid 02-08-2001 06:34 AM

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.

jeremy 02-08-2001 08:42 PM

gord,
Try typing /usr/sbin/groupadd or adding /usr/sbin to your path.


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