Re: [gentoo-user] Can't play games

2006-08-25 Thread sdoma
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).

Thanks
Frank


On Thu, 2006-08-24 at 19:05 +0200, Boris Fersing wrote:
 2006/8/24, sdoma [EMAIL PROTECTED]:
  Hi again,
 
  I've added some games to my system anr ran ``gpasswd -a frank games''.
 
  I get Permission denied even for ``ls /usr/games''. Well trying to
  start some game I get the same. Can anyone tell em what I'm missing?
 
 Hi,
 
 did you logout and log in after this command ?
 
 Boris.
 
  Thanks
  Frank
 
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 
 -- 
 Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't play games

2006-08-25 Thread Dirk Heinrichs
Am Freitag, 25. August 2006 10:14 schrieb ext sdoma:

 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 only means that it parses different rc files on startup, just 
like it would do when the user logged in.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgp90STJZBlGr.pgp
Description: PGP signature


Re: [gentoo-user] Can't play games

2006-08-25 Thread Peter Haworth
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



Re: [gentoo-user] Can't play games

2006-08-25 Thread Dirk Heinrichs
Am Freitag, 25. August 2006 10:44 schrieb ext Peter Haworth:
 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

Should be: ...instead of reading .bashrc (...), it reads...

In Gentoo, .bashrc is also read from login shells, because of

[[ -f ~/.bashrc ]]  . ~/.bashrc

in .bash_profile.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpJof2jC2gEy.pgp
Description: PGP signature


Re: [gentoo-user] Can't play games

2006-08-25 Thread Pillon Matteo

2006/8/25, sdoma [EMAIL PROTECTED]:

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).


Next time try with newgrp(1). ;-)

Bye.

--
* Matteo Pillon
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Can't play games

2006-08-24 Thread sdoma
Hi again,

I've added some games to my system anr ran ``gpasswd -a frank games''.

I get Permission denied even for ``ls /usr/games''. Well trying to
start some game I get the same. Can anyone tell em what I'm missing?

Thanks
Frank


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't play games

2006-08-24 Thread Boris Fersing

2006/8/24, sdoma [EMAIL PROTECTED]:

Hi again,

I've added some games to my system anr ran ``gpasswd -a frank games''.

I get Permission denied even for ``ls /usr/games''. Well trying to
start some game I get the same. Can anyone tell em what I'm missing?


Hi,

did you logout and log in after this command ?

Boris.


Thanks
Frank


--
gentoo-user@gentoo.org mailing list





--
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't play games

2006-08-24 Thread brettholcomb
Is your user a member or the games group?

 
 From: sdoma [EMAIL PROTECTED]
 Date: 2006/08/24 Thu PM 12:48:02 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Can't play games
 
 Hi again,
 
 I've added some games to my system anr ran ``gpasswd -a frank games''.
 
 I get Permission denied even for ``ls /usr/games''. Well trying to
 start some game I get the same. Can anyone tell em what I'm missing?
 
 Thanks
 Frank
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list