LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-23-2004, 10:45 AM   #1
PunkPT
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware 10
Posts: 38

Rep: Reputation: 15
"adduser" not adding users to default group "users"


i'm running slackware-current
after creating a user with "adduser" the program says it will add the user
to the default group "users"
after that a "cat /etc/group" tells me no user is present under the
"users" group
 
Old 09-23-2004, 11:31 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
useradd -s /bin/bash andy -g users -G video,audio

The -g switch allows you to specify the group the user should belong to, -G should be a comma separated list of the other groups you want the user to belong to. Read man useradd
 
Old 09-23-2004, 11:50 AM   #3
PunkPT
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware 10
Posts: 38

Original Poster
Rep: Reputation: 15
i solved it
group doesn't hold the user's group
the passwd holds the group-user relation
 
  


Reply



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
I want a "users" group for files. Lokathor Debian 6 11-26-2005 12:26 PM
"users.allow" and "users.deny": under what directory, in Mandriva? KWTm Mandriva 0 10-09-2005 02:23 PM
"rwx" and "valid users" - which one has precedence? kenji1903 Linux - Networking 8 07-27-2004 10:21 AM
suse 9.0 "adding and removing users" Virtualhate Linux - Newbie 5 06-09-2004 10:50 PM
vsftpd - "real" vs. "virtual" users clau_bolson Linux - Networking 2 11-17-2003 06:22 AM

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

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

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