- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- # prompt if logged in as a user
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
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
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
тАО03-15-2010 03:01 AM
тАО03-15-2010 03:01 AM
I'm facing a problem , after rebooted the HP-ux 11iv3 server when user logged in by su the prompt is appearing # instead of $ but giving id command it is showing user ID what file needs to check ? i have compared these files /etc/profile , .profile and $HOME/.profile from working server seems settings are same ,
Thanks in advance ,
Thanks & Regards,
Kalai.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 03:13 AM
тАО03-15-2010 03:13 AM
Re: # prompt if logged in as a user
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 03:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 03:49 AM
тАО03-15-2010 03:49 AM
Re: # prompt if logged in as a user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 04:00 AM
тАО03-15-2010 04:00 AM
Re: # prompt if logged in as a user
if u do a su userid your variables would be same except u would be logged as new user.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 05:41 AM
тАО03-15-2010 05:41 AM
Re: # prompt if logged in as a user
I need while user login the prompt should come $ , not for root user ,
Logesh:- Not $ symbol for root user login , you mean to say after logged in by user then edit $HOME/.profile inside the user login right ? not from root login right ?
Thanks & Regards,
Kalai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 05:59 AM
тАО03-15-2010 05:59 AM
Re: # prompt if logged in as a user
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 10:31 PM
тАО03-15-2010 10:31 PM
Re: # prompt if logged in as a user
Users are using < su - username >
Thanks ,
Kalai .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2010 02:29 AM
тАО03-16-2010 02:29 AM
Re: # prompt if logged in as a user
What does "echo $PS1" show?
What does "echo ~/.profile" show?
Does ~/.profile set PS1? To what?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2010 03:35 AM
тАО03-16-2010 03:35 AM
Re: # prompt if logged in as a user
What shell is used?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2010 09:37 AM
тАО03-17-2010 09:37 AM
Re: # prompt if logged in as a user
I went user Home directory and edited .profile and put PS1 as $ ,
Problem solved ,
Many thanks to all ,
Thanks ,
Kalai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2010 10:10 AM
тАО03-17-2010 10:10 AM