Operating System - HP-UX
1753302 Members
6481 Online
108792 Solutions
New Discussion юеВ

how do I change a user's profile?

 
Ravinder Singh Gill
Regular Advisor

how do I change a user's profile?

how do I change a user's profile?
6 REPLIES 6
Ravinder Singh Gill
Regular Advisor

Re: how do I change a user's profile?

where is the user's profile stored?

What I am trying to do is add /usr/sbin to the profile. Can someone assist?
melvyn burnard
Honored Contributor

Re: how do I change a user's profile?

edit their .profile file in their home directory
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sergejs Svitnevs
Honored Contributor

Re: how do I change a user's profile?

You can change the file /etc/profile (it is executed by the shell for every user who logs in).

BR
Sergejs
Ralph Grothe
Honored Contributor

Re: how do I change a user's profile?

Sounds like you want to extend the normal users' PATH environment?

If so append it to /etc/PATH.
Madness, thy name is system administration
Sergejs Svitnevs
Honored Contributor

Re: how do I change a user's profile?

Append "/usr/sbin" to /etc/PATH file

or

Add an extra line to /etc/profile:
"export PATH=$PATH:/usr/sbin:."

Regards,
Sergejs
Ravinder Singh Gill
Regular Advisor

Re: how do I change a user's profile?

thanks guys....i found that the user's profile didnt exist...so I copied another user's profile into their home directory...and made sure that the ownership was correct afterwards.