LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   adduser how? (https://www.linuxquestions.org/questions/slackware-14/adduser-how-219124/)

hraposo 08-18-2004 02:55 AM

adduser how?
 
When I use the command adduser what do I put in the group option.
Or, how can I add a new user.

irfanhab 08-18-2004 03:03 AM

Well

If you want to add severel users, then classify them into 'groups' and then when adding them, just mention the name of the group

however if you want to simply add a new user
just click enter to skip this piece of information. the important fields I think are only username, password and perhaps the real name of the user

Smokey 08-18-2004 03:14 AM

Quote:

Originally posted by irfanhab
Well

If you want to add severel users, then classify them into 'groups' and then when adding them, just mention the name of the group

however if you want to simply add a new user
just click enter to skip this piece of information. the important fields I think are only username, password and perhaps the real name of the user

Nah, you don't need to enter the real name of the user. But Irfanhab is correct, just enter through.

Nichole_knc 08-18-2004 05:56 AM

All you have to do is enter adduser at the command prompt
You must be root or su to add a user
Simply fill out the lines as they appear.
Group is listed during adduser (user) is the default for all users
additional groups follow the initial group, this is a comma seperated line (example>> wheel,pcuser,audio)

Most of the time all defaults for adduser are fine for single or 2-4 user machines in a home enviroment.
If you desire a user to have su (root) rights then enter "wheel" at the additional groups prompt.

ringwraith 08-18-2004 08:18 AM

Didn't realize you needed to add the user to wheel in Slackware. Just do as told prior to the last post. just user name and password is all that is required.

Nichole_knc 08-18-2004 04:52 PM

you don't need to add a user to wheel if a user does not need full su (root) power. If you want a useer to have FULL root rights then yess you add them to wheel (like YOUR own self)
If you desire a user to have limited root access then you use sudo.
You really don't have to add the user to any group but the default (user) which is done automagickly when adding a user and hitting the enter key. That is of course if you are only running a vanilla system.

Servers with multi-user/multi-net enviroments may have custom groups as in sales, production, admin, staff--- ETC ETC etc....
Them only certain groups need access to certain directories/services and are assigned accordingly.

I know that may be way more advanced than the original adduser question. But if this person is tring to set up a system with several users they may desire the knowledge to use other group and group setting for there users...
If not then they need to read the install instructions again about setting themselves up a user profile and that they should at least add themselves to the wheel group also so that they can have su (root) access in a console from their fav GUI. Unless of course they desire to run the box as root themselves...;)

sidebar note:
have built and installed 2 Slackware servers at work, samba and dns. Next comes the mail and webhost (covers 4 plants US wide). Already have contract for another Slack powered network for a new upstart factory in North Carolina... You may chose to disregard any post you wish cause you never know how advanced a "user" may be.

ringwraith 08-18-2004 07:51 PM

Nichole, I didn't mean to diss you or anything. I didn't realize there were different levels of root access. Can you give some details on that. I have never added myself on Slackware to wheel the way I had to do for FreeBSD. What can't I do with by su or su -? Like I said, I just want to learn more about it as I certainly don't consider myself a slackware or linux expert. But have never had any problem doing something with su.

MykilX 08-19-2004 02:18 PM

I've never heard of such a thing either. I've never added myself to wheel in slack and have always been able to use su/su - with no problems. I usually add myself to the sys group as well. This was an easy fix for user not having access to /dev/dsp when i was using oss. sound instead of alsa.

ringwraith 08-20-2004 07:35 AM

Yeah, I think that was how Pat V. suggests in his email to root. Hopefully Nichole can expound on this.


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