System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Out-of-the-box root .profile

 
CIBER Unix
Occasional Advisor

Out-of-the-box root .profile

A little bit of a strange request this...
I'm working on some HP-UX servers where the previous SA has made a bit of a hash of root's .profile.
Would someone be able to post an original root .profile for HP-UX up, so I can start again?
(I don't have original media either!)
thanks very much...
2 REPLIES
Jeff_Traigle
Honored Contributor

Re: Out-of-the-box root .profile

There should be a copy under /usr/newconfig. Hopefully he didn't mess with that also. :)
--
Jeff Traigle
Bill Hassell
Honored Contributor

Re: Out-of-the-box root .profile

And to expand on Jeff's answer, /usr/newconfig has a large number of default files including the passwd file. Root's .profile is in /usr/newconfig, but the default .profile for users is found in /usr/newconfig/etc/skel. Note that /etc/profile and .profile out-of-the-box need a lot of work to function well. Things like stty settings, TERM setup, tty-specif commands, etc need changes. These default files have not changed for many years and they cause a number of problems.


Bill Hassell, sysadmin