hi all
i am new to solaris
how to add a user to multiple(secondary) groups.
user :anna
Groups : delhi ,mumbai,pune
i need like this in cat /etc/group
PHP Code:
delhi::anna
mumbai::anna
pune::anna
i tried using
PHP Code:
usermod -a -G hyd anna
that does int work
how to delete user from group in solaris
if i use userdel -r anna gelhi
user is geleted from /etc/passwd
pls help