-   Linux - Newbie (
-   -   how to load /etc/group settings without exiting session? (

fobster 09-14-2006 01:25 PM

how to load /etc/group settings without exiting session?

I changed some settings in /etc/group (ie adding a myself to another group). Even after adding myself to the group, i cannot edit a file in that group even if it has write permission. I know if i start a new session i will be able to edit the file. How do i get those settings to take affect without exiting ssh session and reconnecting?



jstephens84 09-14-2006 01:52 PM

I don't think you can do this.

w3bd3vil 09-14-2006 01:53 PM

i think if you use the usermod command, you could do it without a change in session.

fobster 09-14-2006 01:56 PM

Actually, here's the full situation. I use putty to ssh into my home comp. I dont wanna close the window putty opened. Is there a way to restart the session without closing the window?

w3bd3vil 09-14-2006 08:26 PM

do not edit /etc/groups manually.
use the command
usermod -G group user
and then without closing the session you can do it.

All times are GMT -5. The time now is 10:17 PM.