- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Security issue
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
09-04-2003 01:44 AM
09-04-2003 01:44 AM
Security issue
"HP-UX timk370 B.11.11 U 9000/898 (ta)"
b. how can i denied login of "root", the 1st time, from any connection except console?
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 01:49 AM
09-04-2003 01:49 AM
Re: Security issue
restart inetd 'inetd -c'
If you want to disallow root as a direct login create a file called /etc/securetty and insert the word console and save it.
Make sure the permissions and ownership of the file is root:root and 400
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 01:54 AM
09-04-2003 01:54 AM
Re: Security issue
b.
# touch /etc/securetty
#chown root:bin /etc/securetty
# chmod 600 /etc/securetty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 01:44 PM
09-04-2003 01:44 PM
Re: Security issue
this will force any user trying to gain root access to run # su which will then be logged in /var/adm/sulog.
As for removing the initial info, you may want to edit the /etc/issue file with a warning note something like: you are accessing a private network for authorized users only, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 06:53 PM
09-04-2003 06:53 PM
Re: Security issue
As far as the message in /etc/issue, be careful what you put there. That file is presented *prior* to login and authentication. It is a good idea NOT to identify the operating system and version or even the type of machine. A sugestion is to have just the simple hostname and perhaps (if your lawyers require it) a warning about access.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2003 07:11 PM
09-04-2003 07:11 PM
Re: Security issue
The reason why security insists on removing the default banner is because it shows the system type as well the OS.
The suggestions were already made to get you what you need.
However, there are other ways one can get the OS version and the system type. You will need to take care of them too.
1. ftp: Use ftpaccess file. Look at ftpaccess man page. Use "suppressversion" and and "suppress hostname" with "banner" pointing to your customized warning message.
2. Sendmail: If you are running sendmail, you can turn of this by editing /etc/mail/sendmail.cf file. Search for "GreetingMessage" and put two quotes after = sign.
3. Turn of snmpd if you don't use. If you send traps or use snmp to monitor anything, configure your snmpd.conf file with a non-default community name.
-Sri