LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-09-2004, 12:36 AM   #1
ptp
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 9.1
Posts: 10

Rep: Reputation: 0
SuSE 9.1, brand new installation, PATH seems to change


Hey all, I just installed SuSE 9.1 for the very first time, and I've noticed that my path seems to change after I log in.

During start-up, things from /sbin seem to run just fine, though they aren't designated as being in /sbin (I'm assuming that's because /sbin is in the search path). I've grepped the /etc directory for "PATH" with the --directories=recurse option set, and /sbin pops up all over the place in path designations. However, after I login, and KDE has started up, when I run Konsole, the path no longer seems to include /sbin.

Does anyone have any idea where I might look to figure out where this PATH change is taking place, and fix it so /sbin is added to the PATH (heck, I don't even care if I know where the change is happening, if I can just figure out where to put PATH=$PATH:/sbin, and make it stick).

Any help would be appreciated.
 
Old 06-09-2004, 10:05 AM   #2
ptp
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
Just posting to follow up on my own post. After lots of searching, I read repeatedly about editing the file /etc/profile.local to effect changes like this, but always in relation to earlier releases of SuSE. I looked, and didn't find the file on my system, so I thought things much have changed in 9.1, but I couldn't find anything else, so I finally tried creating the file with the line "export PATH=$PATH:/foo:...." etc, rebooted and it worked. So I guess I've solved my own problem. Sorry to bother everyone.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL WS4: change installation path ghee22 Red Hat 2 01-10-2006 09:09 AM
Updating SuSE 9.1, change source of installation? D4ve G SUSE / openSUSE 1 06-26-2005 07:44 AM
Problem getting Suse 9.2 to change installation source OldSarge Linux - Software 0 01-29-2005 09:54 PM
Installation path for Samba in SUSE? crazyswede Linux - Networking 3 04-16-2004 06:30 AM
change PATH variable in Suse 9.0 jesus_edu Linux - Newbie 5 03-29-2004 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration