- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: where to change the default prompt when loggin...
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
04-20-2000 04:25 AM
04-20-2000 04:25 AM
where to change the default prompt when logging in with CDE
I'm running HP-UX 11.0 with CDE. Every user on my system is using the Bourne
shell ($ prompt).
I would like to know where to place the PS1=
parameter so that a user can see who he is logged in as and what directory they
are in.
My main concern is with CDE...I do not know where to place the PS1 parameter..
Currently, it is not in .dtprofile ( I have DTSOURCEPROFILE=TRUE uncommented)
and it is not in etc/profile
Pardon the simple question...I've found this whole CDE issue very hard to
understand and I'm afraid of messing up my CDE login. I'd hate to make a
"simple coesmetic change" and not be able to log back in.
Thanks in advance for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2000 04:46 AM
04-20-2000 04:46 AM
Re: where to change the default prompt when logging in with CDE
There is a section on invocation and the /etc/profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2000 11:51 AM
04-20-2000 11:51 AM
Re: where to change the default prompt when logging in with CDE
NODE="uname -n"
export PS1='$NODE $PWD ##'
The ## is my favourite.. You can put any character.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2000 12:13 AM
05-08-2000 12:13 AM
Re: where to change the default prompt when logging in with CDE
To set on a per user basis : cd $HOME, vi .Xdefaults
HPterm*loginShell, exit and out CDE and then login back into to review the changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2000 12:26 AM
05-09-2000 12:26 AM
Re: where to change the default prompt when logging in with CDE
Try it and see.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 07:52 AM
09-07-2000 07:52 AM
Re: where to change the default prompt when logging in with CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 12:50 PM
09-07-2000 12:50 PM
Re: where to change the default prompt when logging in with CDE
You will add followind line in .profile file in home directory of user.
export PS1="`uname -n`:`pwd`>"
Regards.
Punjabhai V Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 05:42 PM
09-07-2000 05:42 PM
Re: where to change the default prompt when logging in with CDE
In the case that you can't find that file in users home directory, just copy /.dtprofile to users directories and modify it.