LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   adding a user to a group (https://www.linuxquestions.org/questions/debian-26/adding-a-user-to-a-group-484107/)

ekdya 09-16-2006 12:51 PM

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

baikonur 09-16-2006 01:07 PM

Try:
gpasswd -a fred src

ekdya 09-16-2006 01:11 PM

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:~$

baikonur 09-16-2006 01:16 PM

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

ekdya 09-16-2006 01:30 PM

I did not try gpasswd -a fred src
should I at this point?

ekdya 09-16-2006 01:51 PM

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


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