On Thursday 06 September 2007, Robert Walter wrote:
> hi
> i've added myself to the vboxusers group with "gpasswd -a robert
> vboxusers". when i do a "id robert" with root i see the added group
> but when i start a new xterm with user robert i'm still not added to
> the new group. how do i make the changes take effekt without
> logout/login?
> i thought there was a command but i can't remember nor find one :(
> best regards. robert

You have to either

a) log out and log in, or
b) start a new *login* session with 'su - <username>', or
c) source your profile in *each* open shell

this works because your config settings are re-read from scratch each 
time. Opening an xterm doesn't work as it does not start a new login 
shell - you are alredy logged in, so when the shell starts in the 
terminal it starts as a non-login shell

alan 

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list

Reply via email to