LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-16-2006, 01:51 PM   #1
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Rep: Reputation: 30
adding a user to a group


Hi

debian:~# adduser fred src
Adding user `fred' to group `src' ...
Done.
debian:~# exit
exit
fred@debian:~$ groups
fred dialout cdrom floppy audio video plugdev

how come I do not see src as a group among the listed in the last line above?

thanks
 
Old 09-16-2006, 02:07 PM   #2
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
Try:
gpasswd -a fred src
 
Old 09-16-2006, 02:11 PM   #3
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
fred@debian:~$ groups fred
fred : fred dialout cdrom floppy audio src video plugdev
fred@debian:~$ groups
fred dialout cdrom floppy audio video plugdev
fred@debian:~$
 
Old 09-16-2006, 02:16 PM   #4
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
That is strange.

cvlaptop:/home/mpf# groups
root
cvlaptop:/home/mpf# exit
exit
mpf@cvlaptop:~$ groups
mpf dialout cdrom floppy audio video plugdev edv
mpf@cvlaptop:~$ groups mpf
mpf : mpf dialout cdrom floppy audio video plugdev edv
 
Old 09-16-2006, 02:30 PM   #5
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
I did not try gpasswd -a fred src
should I at this point?
 
Old 09-16-2006, 02:51 PM   #6
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
the fix...
I have t log out and log back in.
using icewm you do C-M<space>
now I have
fred@debian:~$ groups
fred dialout cdrom floppy audio src video plugdev
 
  


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
adding user to group ryancoolest Linux - Newbie 9 04-14-2008 01:50 PM
Adding new group to existing user ALF Linux - Software 7 05-08-2006 10:35 PM
Adding user to a group onjoo Linux - Newbie 1 03-05-2006 07:23 AM
after adding user to group peter72 Linux - General 2 08-01-2005 11:17 AM
adding user to a group Chilipepa Linux - Newbie 2 09-27-2003 12:08 PM


All times are GMT -5. The time now is 03:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration