After install, user has /bin/bash as login shell. I change it to
/bin/ksh. I change xterm preferences to "always use --login". User's
.profile is not sourced by ksh on next login.
hp - I tried '$useradd -s /usr/bin/ksh test' after setting this in
gnome-terminal and it returned 'unable to lock password file' - however it does
dawn on me that you would need to log out of X after changing shells as X will
"hold on to" bash after the login. Is this the case or do we have a
Sorry, my bad. I use text login, so X is completely exited. Actually, I think
I rebooted somewhere along the way, too. A possibility is that it is
ksh-related, but this worked fine in 6.2, for instance.
is this xterm or gnome-terminal?
This is definitely gnome-terminal.
This defect is considered MUST-FIX for Florence Gold release
The problem as far as I can tell is that exec'ing ksh with a hyphen in front
("-/bin/ksh") does not result in a login shell, ksh is broken somehow.
The setting works with bash.
Exacly how does the exec call look?
HP: how does the call look?
It gives you a login shell if called with "-l" or if the program (argv)
starts with "-". These work.
Can't reproduce - when I set something in .profile and choose "login shell", I
Will try the sequence again, taking more careful notes. However, I must note
that on the machine in question, I still have to manually do ". ./.profile"
after opening a gnome-xterm. If I can reproduce, I'll reopen the bug if I'm
permitted to (can I?).