changing group of a system user
hi
is it possible to change the group of system user like /sbin/shutdown . can i do it with usermod , what happens if i change the group info in /etc/passwd will it make the program not execute... (*i dont want to change the owner but only the group) thx in advance |
Not sure I follow...
Do you mean that you have a user (ted) that belongs in a group (sales) and you want to remove that user from that group? usermod -G sales ted OR, do you mean that you have a group (superusers) that the user belongs to that you want to give the group permissions on a service, but not limit it to just a user: chgrp superusers /sbin/shutdown Could you clarify what you want so we/I can give you a more appropriate answer? :) Cool |
Why do u want to do that, unless and untill its specifically required dont change the system default user & group permissions.
|
nope what i meant was when i checked /etc/passwd i saw a userid (6) for shutdown on my rh9 , and it belonged to the group root .
now i wanted to know whether to change the group of shutdown to someother group ... |
Quote:
|
All times are GMT -5. The time now is 05:16 PM. |