HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- securetty question
Operating System - Linux
1830165
Members
6022
Online
109999
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
11-25-2003 08:17 AM
11-25-2003 08:17 AM
securetty question
I have a redhat box running 2.4.9-e25. I can telnet in as root, tty shows /dev/pts/2. There is no entry start like pts in the /etc/securetty file. How can it happen?
Jun
Jun
Food lover
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 08:36 AM
11-25-2003 08:36 AM
Re: securetty question
Hi Jun,
If you are sure that your /etc/securetty is in place (no mistake in the file name ;-), you may check the PAM configuration.
PAM is a set of security modules that are configured to make some system authentication steps modular (login, telnet, ssh...).
In /etc/pam.d/login, check the configuration for "login" related security. Mine (redhat 9) looks like this :
auth required pam_securetty.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session optional pam_console.so
Good luck.
Kodjo
If you are sure that your /etc/securetty is in place (no mistake in the file name ;-), you may check the PAM configuration.
PAM is a set of security modules that are configured to make some system authentication steps modular (login, telnet, ssh...).
In /etc/pam.d/login, check the configuration for "login" related security. Mine (redhat 9) looks like this :
auth required pam_securetty.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session optional pam_console.so
Good luck.
Kodjo
Learn and explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 08:59 AM
11-25-2003 08:59 AM
Re: securetty question
Thanks for the reply. Your pam.d/login file is the same like mine.
I have another 2.4.18-24.8.0 RH, it has the same pam.d/rsh and pam.d/login files like the 2.4.9-e25 RH, but I've got to remove the /etc/securetty file before root can telnet in. I'm very much confused.
Jun
I have another 2.4.18-24.8.0 RH, it has the same pam.d/rsh and pam.d/login files like the 2.4.9-e25 RH, but I've got to remove the /etc/securetty file before root can telnet in. I'm very much confused.
Jun
Food lover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 05:40 PM
11-25-2003 05:40 PM
Re: securetty question
Normally it would be the pam.d configuration.
If it isn't, check for the bare-word 'telnet' in the securetty file, and make sure that it doesn't have world-wirteable permissions (i.e. only 644 (-rw-r--r--)).
If it isn't, check for the bare-word 'telnet' in the securetty file, and make sure that it doesn't have world-wirteable permissions (i.e. only 644 (-rw-r--r--)).
One long-haired git at your service...
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