how to load /etc/group settings without exiting session?
Hi,
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? tia, fbstr |
I don't think you can do this.
|
i think if you use the usermod command, you could do it without a change in session.
|
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?
|
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 06:27 PM. |