On Fri, 25 Aug 2006 10:14:59 +0200, sdoma wrote:
> Well, that was it. I'm quite surprised because I start xterm as
> ``xterm -ls'', which should provide a login shell but I had to
> logoff completely (terminating X and logout).

A "login shell" is not a new login; it just means that as well as
reading .bashrc (or the equivalent for your shell), it also reads
.bash_profile, .bash_login and .profile when starting up, and reads
.bash_logout on exit.

To add groups to the currently running process requires root
privileges, even if the user is configured as a member of the new
group. The usual methods to achieve this are logging out and back in
again, or using newgrp (though this starts a new shell, and only
affects processes started from that shell).

-- 
        Peter Haworth   [EMAIL PROTECTED]
"Tradition means giving votes to the most obscure of all classes, our
 ancestors. It is the democracy of the dead. Tradition refuses to submit
 to the small and arrogant oligarchy of those who just happen to be
 walking about. All democrats object to men being disqualified by the
 accident of their birth; tradition objects to their being disqualified
 by the accident of their death."
                -- G. K. Chesterton
-- 
gentoo-user@gentoo.org mailing list

Reply via email to