HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to change the login prompt
Operating System - Linux
1829396
Members
1536
Online
109991
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-26-2001 04:38 PM
03-26-2001 04:38 PM
How to change the login prompt
We have a couple of HP-UX 10.20 servers and I would like to modify the login prompt to display the id of that server. How do I do that?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 02:19 AM
03-27-2001 02:19 AM
Re: How to change the login prompt
Hi there.
Put this into the .profile :
export PS1=`hostname`','`whoami`',$PWD,!> '
for Oracle users :
export PS1=`hostname`','`whoami`',${ORACLE_SID:-"none"},$PWD,!
> '
Rgds
Alexander M. Ermes
Put this into the .profile :
export PS1=`hostname`','`whoami`',$PWD,!> '
for Oracle users :
export PS1=`hostname`','`whoami`',${ORACLE_SID:-"none"},$PWD,!
> '
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2001 06:57 AM
03-27-2001 06:57 AM
Re: How to change the login prompt
I guess Deny means the text displayed before user login.
Look at /etc/issue and /etc/issue/net
One is for console and the other for network logins.
You also need to comment out the part in /etc/rc.d/rc.local that will overwrite your /etc/issue everytime you reboot your system.
Hope this helps.
Look at /etc/issue and /etc/issue/net
One is for console and the other for network logins.
You also need to comment out the part in /etc/rc.d/rc.local that will overwrite your /etc/issue everytime you reboot your system.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 02:00 AM
05-24-2001 02:00 AM
Re: How to change the login prompt
To change the login prompt in HPUX 10.20
simply edit the /etc/issue file of each system
to display the corresponding system names.
No rc.local file is needed to be modified.
Because in HPUX 10.20 the FS is been changed to
10FSL. here the startup scripts are placed in
/sbin/rc* directories for each runlevel and
the configuration files are in /etc/rc.config.d
directory.
Happy Tuning.
simply edit the /etc/issue file of each system
to display the corresponding system names.
No rc.local file is needed to be modified.
Because in HPUX 10.20 the FS is been changed to
10FSL. here the startup scripts are placed in
/sbin/rc* directories for each runlevel and
the configuration files are in /etc/rc.config.d
directory.
Happy Tuning.
Be Dynamic
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP