- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: no securetty in 11i version 2?
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
01-03-2006 08:18 AM
01-03-2006 08:18 AM
no securetty in 11i version 2?
Is /etc/securetty not an option with 11.23? or is it because we have SSH loaded?
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 08:21 AM
01-03-2006 08:21 AM
Re: no securetty in 11i version 2?
While I don't have 11.23 running, there *are* manpages describing it --- the referenece to '/etc/securetty' is (has always been) in 'login(1)' however.
http://docs.hp.com/en/B2355-60105/login.1.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 08:22 AM
01-03-2006 08:22 AM
Re: no securetty in 11i version 2?
It works just like it did in the previous versions on hp-ux.
Using ssh you can login using the root account from any terminal. The securetty works for telnet access.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 08:24 AM
01-03-2006 08:24 AM
Re: no securetty in 11i version 2?
If you want to deny root login via ssh then you'll have to modify the sshd_config file and set:
PermitRootLogin no
You will then need to stop and restart ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 08:25 AM
01-03-2006 08:25 AM
Re: no securetty in 11i version 2?
I'm running 11.23 and ssh, and I sure have the /etc/securetty file. There is no man for securetty.
[sd3n1:/]# more /etc/securetty
console
[sd3n1:/]# uname -a
HP-UX sd3n1 B.11.23 U ia64 3841026172 unlimited-user license
[sd3n1:/]# ll /etc/securetty
-rwx------ 1 root sys 8 Dec 27 08:42 /etc/securetty
Perhaps you could just create the file?
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 08:27 AM
01-03-2006 08:27 AM
Re: no securetty in 11i version 2?
to disable root login through ssh you need to modify the sshd_config file,
Look at this parameter, "PermitRootLogin"
Set this parameter to,
PermitRootLogin no
in the sshd_config file (should be in /etc, /etc/ssh, or /usr/local/etc, depends on the version of ssh).
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2006 09:06 AM
01-03-2006 09:06 AM
Re: no securetty in 11i version 2?
This has an option for reading the /etc/securetty file as well as the PermitRootLogin in the sshd_config file.
The ssh version 4.2 is a free download in depot format from software.hp.com