- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: prompt
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
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
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
07-24-2002 10:02 AM
07-24-2002 10:02 AM
prompt
Facing a strange problem in our HP-UX systems... the users for whom PS1 is not set in their own profiles, getting "blabla@blabla==>" prompt, which is prompt of a user in our team... though nothing set for PS1 in /etc/profile.
Any idea why it is happening?...
same problem we found in SUN SOLARIS systems also...
Thanks in advance...
Cheers..
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:05 AM
07-24-2002 10:05 AM
Re: prompt
Check to see whether users' profile "sources" any env files which may have set PS1.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:07 AM
07-24-2002 10:07 AM
Re: prompt
Several things:
1) Check that /etc/profile is not sourcing the user's profile that appears as PS1.
2) Verify that the user's shell is what you expect - you may be looking in the wrong ".profile"
3) Verify that the affected user's profiles are not sourcing the user's profile that appears as PS1
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:08 AM
07-24-2002 10:08 AM
Re: prompt
If the PS1 prompt isn't set in /etc/profile nor in the user's profile, and this is occuring on your Solaris systems, too, I'd look for a common application that is run or a file that is sourced. Something appears to be setting and exporting the PS1 variable.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:08 AM
07-24-2002 10:08 AM
Re: prompt
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:11 AM
07-24-2002 10:11 AM
Re: prompt
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:24 AM
07-24-2002 10:24 AM
Re: prompt
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:29 AM
07-24-2002 10:29 AM
Re: prompt
We set this in the .kshrc file.
Verify the shell being used and try looking there.
i.e. .shrc and others.
Good Luck.
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:33 AM
07-24-2002 10:33 AM
Re: prompt
Do the users get the prompt the instant they login?
Or does it show up later - like after they've run something.
If it's right away, I'd look at everything in /etc/profile & the user's profiles to see if a script may be exporting a PS1 value.
If it's after something's been run, I'd certainly check it & anything that it calls.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 10:35 AM
07-24-2002 10:35 AM
Re: prompt
I assume that the user's default shell is sh. Can you turn on the shell's debug mode by adding "set -x" as the first line in .profile to see if the output gives you more clues?
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:01 AM
07-24-2002 11:01 AM
Re: prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:11 AM
07-24-2002 11:11 AM
Re: prompt
Can you perform the following steps:
# mv /home/user /home/user.sav
# mkdir /home/user
# chmod xxx /home/user # same as original
# chown user:group /home/user # same as original
And then try to login as the user to the system. If the prompt is gone then some profile in /home/user.sav had set it. Otherwise, the system default profile sets it.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:18 AM
07-24-2002 11:18 AM
Re: prompt
Hai has a good point. Look in /etc/profile which is accessed on login before their /home/.profile
or /home/.kshrc (etc).
Hang in There. We'll keep looking.
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:27 AM
07-24-2002 11:27 AM
Re: prompt
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:31 AM
07-24-2002 11:31 AM
Re: prompt
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 11:54 AM
07-24-2002 11:54 AM
Re: prompt
C'mon, you can try my idea on one user just to narrow down the root cause.
By the way, does the following command
# echo $ENV
returns a value? If yes then this $ENV file is sourced after profile.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 01:43 PM
07-24-2002 01:43 PM
Re: prompt
how do your users log in?
- telnet,ssh or rlogin? Then show this /etc/profile of yours so we can find the line containg the "." (source) command
- X-Windows? Then you start to look in "/etc/dt/config/Xconfig" and work down from there...
Just my $0.02,
Wodisch