Bug 29051
Summary: | gnome xterm ignores --login | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Marty Shannon <martys> |
Component: | pdksh | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED WORKSFORME | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | hp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-02-26 20:18:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marty Shannon
2001-02-23 15:23:22 UTC
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 gnome-terminal problem? 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[0]) starts with "-". These work. Can't reproduce - when I set something in .profile and choose "login shell", I get it. 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?). |