Re: Testing/Etch: .bash_ profile/.bashrc nach ssh login NICHT ausgeführt

2006-10-24 Diskussionsfäden Holger Rauch
Nein, ganz so einfach ist es nicht. Denn: a) die shell ist klar eine login shell b) ich habe die --noprofile option NICHT angegeben c) ~/.bash_profile ist definitiv da und wird aber trotzdem bei ssh logins NICHT gesourced (~/.bashrc ist auch da und wird explizit von der ~/.bash_profile aus

Re: Testing/Etch: .bash_ profile/.bashrc nach ssh login NICHT ausgeführt

2006-10-24 Diskussionsfäden Holger Rauch
Hallo Marc (und auch an die anderen), mittlerweile hab ich das eigentliche Problem entdeckt: Ich vergaß beim Anlegen der accounts mit useradd, den switch -s für die login shell mitzugeben und nahm fälschlicherweise an, daß auch in diesem Fall /bin/bash als login shell in die /etc/passwd

Re: Testing/Etch: .bash_ profile/.bashrc nach ssh login NICHT ausgeführt

2006-10-24 Diskussionsfäden Andreas Putzo
On Oct 24, Holger Rauch wrote: Ich vergaß beim Anlegen der accounts mit useradd, den switch -s für die login shell mitzugeben und nahm fälschlicherweise an, daß auch in diesem Fall /bin/bash als login shell in die /etc/passwd eingetragen wird (weil die bash ja unter Linux sowieso default

Re: Testing/Etch: .bash_ profile/.bashrc nach ssh login NICHT ausgeführt

2006-10-24 Diskussionsfäden Wolf Wiegand
Hallo, Andreas Putzo wrote: Allerdings ist /bin/sh normalerweise ein Link auf /bin/bash. Verhält sich die bash anders, wenn sie als /bin/sh gestartet wird? Ja: --norc Do not read and execute the system wide initialization file /etc/bash.bashrc and the personal initialization file