- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Customizing New Installed HP-UX
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-07-2004 02:32 AM
07-07-2004 02:32 AM
I want to stop sendmail services running
on my server and want to set Login prompt
to something like this
hostname:loginname >
How can I do this, so whenever a user logs
onto server he/she should get this login
prompt.
Thanks,
Amit
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:37 AM
07-07-2004 02:37 AM
Re: Customizing New Installed HP-UX
export SENDMAIL_SERVER=0
then, /sbin/init.d/sendmail stop
For the prompt:
Don't use ">" - for if you cut'n'paste and accidently select the whole line - you coult over write a file...
In .profile:
HOST=`uname -n`
PS1="\$HOST:\$LOGNAME:\$PWD # ";export PS1
That's what I do.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:43 AM
07-07-2004 02:43 AM
Re: Customizing New Installed HP-UX
#cd /etc/rc.config.d
# vi mailservs
set the flag SENDMAIL_SERVER=0
save and clost the file
#/sbin/init.d/sendmail stop
to set the login prompt,in users .profile file make entry
PS1=`hostname`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:43 AM
07-07-2004 02:43 AM
Re: Customizing New Installed HP-UX
Thanks
Please is there any way where in
I make modification in a file for login
prompt so it gets automatically updated
in all the user profiles of the system.
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:46 AM
07-07-2004 02:46 AM
SolutionBut if users set it themselves in their own .profiles, then they will overide /etc/profile.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2004 02:53 AM
07-07-2004 02:53 AM
Re: Customizing New Installed HP-UX
The server will still be capable of using sendmail to SEND mail.
Usually environment variables such as PS1 the prompt are set in a /etc/profile as follows
ENV=/.kshrc
My contents are thus:
PS1=`date -u +%c uname -n`:'$PWD
[!#] '
You can put
PS1=`hostname`:'$LOGNAME' if LOGNAME is set
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com