LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-29-2005, 01:38 PM   #1
mlb
Registered User
 
Registered: Dec 2005
Distribution: mmandrivaaa 2006
Posts: 2

Rep: Reputation: 0
Question $path


I am using Mandriva Linux 2006, updated. Where isthe value of $PATH first set? In SuSE it is first set in /etc/profile, but in Mandriva it appears already set there. Is it somewhere in sysconfig?
thanks
mlb
 
Old 12-29-2005, 02:21 PM   #2
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
did you try /etc/rc.d/rc.sysinit ?
 
Old 12-29-2005, 03:07 PM   #3
mlb
Registered User
 
Registered: Dec 2005
Distribution: mmandrivaaa 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Exclamation $path

Yes, it's there in /etc/rc.d/rc.sysini. Thanks a lot for the instant help - it was the first time I have used this site.
Do you know of any reason for a preference between there and /etc/profile?
 
Old 12-30-2005, 01:42 AM   #4
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

Rep: Reputation: 30
No idea. Perhaps because it's the first file to be read after inittab.
 
Old 01-02-2006, 04:29 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
I think the /etc/rc.d/rc.sysinit one is only for setting up the environment to run the initscripts in. When a user logs in (wether as root or a non-priveleged user) the shell sources /etc/profile, /etc/profile.d/* and ~/.bash_profile for profile stuff. This is the same on Suse and Mandriva and other distros.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Image Path reference in Linux (Absolute path) javabuddy Linux - General 7 06-05-2006 07:45 AM
Apache path and kde path questions darkraider Debian 1 11-12-2005 05:07 AM
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 12:24 AM
Removing path form PATH maginotjr Linux - Newbie 3 02-12-2005 02:23 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 06:10 PM

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

All times are GMT -5. The time now is 05:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration