Register
It is currently Tue Oct 21, 2014 7:35 am

Different Behavior When Logging in Via GDM and su


All times are UTC - 6 hours


Post new topic Reply to topic  [ 1 post ] 
Author Message
 PostPosted: Fri Feb 10, 2012 4:49 pm   

Joined: Fri Feb 10, 2012 2:58 pm
Posts: 1
I've a pretty complex set of profile scripts that are execute when the interactive shell is first execute. The profile scripts are broken into sub-scripts and are loaded using source (".", actually).

When I "su - <user>" to my user, the scripts load as expected. However, when I log in to my shell from my Gnome session (initiated by gdm), two things seem to be different: the aliases which I've defined in a file that I source from ~/.profile aren't being loaded, and second, the value of PS1 isn't updating to what I've set in .profile (in fact, I can't seem to trace where PS1 is being set).

Help.


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP