LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-18-2004, 02:55 AM   #1
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Rep: Reputation: 30
adduser how?


When I use the command adduser what do I put in the group option.
Or, how can I add a new user.
 
Old 08-18-2004, 03:03 AM   #2
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
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

Last edited by irfanhab; 08-18-2004 at 03:05 AM.
 
Old 08-18-2004, 03:14 AM   #3
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Rep: Reputation: 30
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.
 
Old 08-18-2004, 05:56 AM   #4
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
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.
 
Old 08-18-2004, 08:18 AM   #5
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
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.
 
Old 08-18-2004, 04:52 PM   #6
Nichole_knc
Member
 
Registered: Mar 2004
Location: Georgia
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287

Rep: Reputation: 30
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.

Last edited by Nichole_knc; 08-18-2004 at 04:59 PM.
 
Old 08-18-2004, 07:51 PM   #7
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
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.
 
Old 08-19-2004, 02:18 PM   #8
MykilX
Member
 
Registered: Apr 2003
Location: East Coast USA
Distribution: Slackware
Posts: 59

Rep: Reputation: 16
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.
 
Old 08-20-2004, 07:35 AM   #9
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

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


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
adduser bally Linux - General 7 08-09-2004 01:28 PM
adduser trophy Red Hat 1 05-01-2004 09:11 AM
adduser teqno Linux - Newbie 5 12-08-2003 12:26 PM
Adduser - xmdms Linux - Newbie 3 10-23-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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