After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101462 - SHELL variable not set
SHELL variable not set
Status: RESOLVED NOTABUG
Product: gdm
Classification: Core
Component: general
2.4.0.x
Other Linux
: Normal major
: ---
Assigned To: GDM maintainers
Trevor Curtis
Depends on:
Blocks:
 
 
Reported: 2002-12-17 15:08 UTC by Mark Finlay
Modified: 2003-10-31 19:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Mark Finlay 2002-12-17 15:08:53 UTC
The $SHELL variable is not being set by gdm.

This means that gnome-terminal will not work
unless a shell is specified in /etc/passwd.
Comment 1 George Lebl 2003-01-13 08:36:30 UTC
If shell is not specified in /etc/passwd why would we set the SHELL
variable, the user has no shell then ...
Comment 2 Mark Finlay 2003-01-13 09:02:10 UTC
To me it makes more sense to have a resonable default like sh or bash
than to have the terminal come up and say that the command was not found.

Even the console works that way.
Comment 3 George Lebl 2003-01-17 18:29:58 UTC
And what is the use of this?  In fact I know some people set no shell
for users that they don't want to use shell ...
Comment 4 Mark Finlay 2003-08-29 12:09:36 UTC
But not setting s shell is not really a secure way to stop people
having access to a terminal - because of that i think that a default
SHELL should be set.
Comment 5 Mark Finlay 2003-10-31 19:11:44 UTC
Closing this - gdm shouldn't be messing about with $SHELL