I'm on a Debian Wheezy, and I'm wondering how I can, after editing /etc/passwd (actually to change a home directory, but nevermind), reload the user session without logging off.
I tried exec bash
, exec bash --login
, but it doesn't work
Any idea ?
NB : whatever I change on /etc/passwd I would like a command to refresh the user's session
EDIT : This may be a question for StackOverFlow. If so, please moove my question, thx.
su - "your Usernam"
– Hartmut Nov 26 '13 at 11:26