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
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
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
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
4 matches
Mail list logo