[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: User-Profile



Moin,

On Die, 15 Apr 2003 at 09:57 (+0200), Bernd Brodesser wrote:
> Hallo Jan,
> 
> * Jan Trippler schrieb am 14.Apr.2003:
> 
> > BTW: Das Verhalten ist unter SuSE fast identisch, mit einem 
> > Unterschied:
> > Die .bashrc wird auch bei einem Login ausgeführt, egal ob eine 
> > .bash_profile existiert oder nicht (zusätzlich zur .profile bzw.
> > .bash_profile). Ich habs gerade noch mal ausprobiert.
> 
> Aber doch nur, weil es in der .profile die .bashrc aufgerufen wird.
> Klar kann man das tun. 

Nein, wird sie nicht. Das ist ja gerade der Unterschied. Das ist hier 
aber OT, deshalb nur kurz:

k500:~ # useradd tst && mkdir /home/tst && chown tst.users /home/tst
k500:~ # su - tst
tst@k500:~> echo "echo .bashrc" >.bashrc
tst@k500:~> echo "echo .profile" >.profile
tst@k500:~> logout
k500:~ # su - tst
.bashrc
.profile
tst@k500:~> echo "echo .bash_profile" >.bash_profile
tst@k500:~> logout
k500:~ # su - tst
.bashrc
.bash_profile
tst@k500:~> logout
k500:~ # userdel -r tst

Jan



Reply to: