Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 use redhat 3 now , and have installed a redhat 5 , I want to migrate it to this new server .
I have successfully migrated the user to new server , but I just found the the PATH setting ( echo $PATH) of root in both servers are different, it seems something is missing in migration , ( only root user have problem , other users is ok ) I have already copy all user home directory to new server include /root directory , /etc/profile but still not , can advise what is wrong ?
Assuming you mean RHEL3 => RHEL5, they are 2 Major versions apart... I'd expect some differences.
If you are absolutely sure you need a certain dir in root's PATH, then add it to their .bash_profile.
I certainly wouldn't have copied over /etc/profile.
Last edited by chrism01; 11-07-2012 at 06:08 PM.
Reason: - => _ for bash_profile
I use redhat 3 now , and have installed a redhat 5 , I want to migrate it to this new server .
I have successfully migrated the user to new server , but I just found the the PATH setting ( echo $PATH) of root in both servers are different, it seems something is missing in migration , ( only root user have problem , other users is ok ) I have already copy all user home directory to new server include /root directory , /etc/profile but still not , can advise what is wrong ?
Did you copy over root's .profile and/or .bashrc/.bash_profile?
And AGAIN, have you contacted Red Hat support???? You continue to post questions regarding RHEL in a corporate environment, but have yet to take this advice, or even acknowledge you got it. If you're using RHEL, you're paying for support and access to the Red Hat network. If you're NOT paying, then you SHOULD NOT BE USING IT. All you are managing to do then, is to put servers into production, that have no chance of being updated/patched, and you will wind up with buggy servers with security problems. Access to the Red Hat network is pay-for, and addresses that. Otherwise, load CentOS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.