MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.