Hello,
is there any command which can show a particular user "xyz" is belongs to how many groups
thanks
Hello,
is there any command which can show a particular user "xyz" is belongs to how many groups
thanks
man groups
the id command, if you have it at your system, would be useful. what i see here is:
yogeshs@yogesh-laptop:~$ id yogeshs
uid=1000(yogeshs) gid=1000(yogeshs) groups=1000(yogeshs),4(adm),20(dialout),24(cdrom),46(plugdev),108(lpadmin),123(admin),124(sambashare)
yogeshs@yogesh-laptop:~$
Thank you.