LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-07-2012, 04:57 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
root user 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 ?

thanks.
 
Old 11-07-2012, 05:01 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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 07:08 PM. Reason: - => _ for bash_profile
 
Old 11-07-2012, 10:28 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,916

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by ust View Post
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.
 
  


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
login as other user using shell doesn't load the profile for that user ukiome Linux - General 11 12-19-2009 06:56 AM
system profile vs user profile bonito SUSE / openSUSE 3 06-28-2006 02:02 PM
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 04:00 PM
WindowMaker Profile Change - Root to User SML Linux - Newbie 1 03-16-2004 04:03 PM
got ALSA to work in root, need help getting it to work in my user profile ic3 Slackware 2 11-28-2003 11:32 PM


All times are GMT -5. The time now is 09:23 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