- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- user profile
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2003 07:22 PM
тАО04-25-2003 07:22 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2003 08:56 PM
тАО04-25-2003 08:56 PM
Re: user profile
How did you create the user ?
What are the permissions of the users .profile file? If the user does not have read permissions you will have a problem.
The users profile runs automtically when logging in. Here is the order.
user logs in
the user picks up /etc/profile, then their own profile. you do not need an type of execute permissions for the profile.
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2003 09:32 PM
тАО04-25-2003 09:32 PM
SolutionWhich shell is this?
if it is bash, you must be modifying ~/.bash_profile.
for ksh and sh, you'd be done with modifying ~/.profile.
I am assuming that you may have compiled and installed bash on hp-ux, and that a port is readily available. excuse me if these assumptions are wrong.
did you create the user using the useradd command or like a few people i know edited the /etc/passwd file directly. as a general practice i use the useradd command and never edit the /etc/passwd file directly (dirty). i know i will miss out some step in the process if i go the dirty way.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2003 09:58 PM
тАО04-25-2003 09:58 PM
Re: user profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2003 10:36 PM
тАО04-25-2003 10:36 PM
Re: user profile
i hope that u might have copied the .profile from some other machine. look for the shell in the .profile and /etc/passwd and change if necessary. also comment the following line
DTSOURCEPROFILE=true
in .dtprofile in the home directory of user.
Regards
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2003 10:45 PM
тАО04-25-2003 10:45 PM
Re: user profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2003 10:57 PM
тАО04-25-2003 10:57 PM
Re: user profile
It is common to all shells
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2003 04:21 PM
тАО04-27-2003 04:21 PM
Re: user profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2003 06:29 PM
тАО04-27-2003 06:29 PM
Re: user profile
For the HP-UX POSIX shell and the Korn shell, /etc/profile is run, followed by $HOME/.profile (and for ksh, .kshrc may be setup in the environment. csh uses a different set of files and bash (not standard for HP-UX) use the set of files listed in the man page.
NOTE: All of these profiles are run only when a 'normal' login is performed, ie, a telnet connection or a serial/modem login. If the login is connected to an Xwindow manager, things are not very standard. While CDE can be configured to source a profile, it does not cause /etc/profile to be run. If you use Xwindows, the environment of the login window (ie, hpterm, xterm dtterm) should have the Xwindow resource *loginShell=true so that a 'normal' login will take place.
Bill Hassell, sysadmin