- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: cannot login as root in RedHat AS 3.0
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
11-11-2004 11:19 PM
11-11-2004 11:19 PM
In my Red Hat Enterprise Advanced Server 3.0 user
root can open FTP sessions but no telnet session.
'su -' works fine...
I think login is the problem because after logging as an ordinary user I run "login" and type 'root' and its password.... 'login incorrect' is the error.
'login' checks /etc/securetty. I renamed that file... no change.
I commented the /etc/pam.d/login entry:
# auth required pam_securetty.so
but login still fails.
Any idea ?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 12:16 AM
11-12-2004 12:16 AM
Re: cannot login as root in RedHat AS 3.0
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9
This will allow up to 10 telnet sessions to the server as root.
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 12:21 AM
11-12-2004 12:21 AM
Re: cannot login as root in RedHat AS 3.0
To enable root access you need to edit the
/etc/securetty and add the following lines
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
The more the number you enter it will allow more sessions.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 04:33 AM
11-14-2004 04:33 AM
Re: cannot login as root in RedHat AS 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 04:41 AM
11-14-2004 04:41 AM
Re: cannot login as root in RedHat AS 3.0
Make sure youre putting the correct pty in your /etc/securetty. Login as regular user and execute tty command. Then add this device in /etc/securetty without preceding /dev, logout and try to logon again.
Other thing to check is the service cfg, in /etc/xinetd.d/telnet, to see if there is any constraint against root, and the tcp wrapper in /etc/hosts.allow and /etc/hosts.deny if i am not mistaken.
Regards,
Celso
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 09:51 AM
11-14-2004 09:51 AM
Re: cannot login as root in RedHat AS 3.0
What else is in '/etc/pam.d/login' then?
Incidentally, you should put '/etc/securetty' back where it is, other things rely upon it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 06:05 PM
11-14-2004 06:05 PM
Re: cannot login as root in RedHat AS 3.0
#%PAM-1.0
#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
/> cat /etc/securetty
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2004 07:05 PM
11-14-2004 07:05 PM
Re: cannot login as root in RedHat AS 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:22 AM
11-15-2004 08:22 AM
Re: cannot login as root in RedHat AS 3.0
Try to log in, then past us the log entries in /var/log/messages and /var/log/secure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 09:11 AM
11-15-2004 09:11 AM
Re: cannot login as root in RedHat AS 3.0
Try to use ssh and sftp instead would be a better way than enabling root access to those protocols.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 05:55 PM
11-17-2004 05:55 PM
Re: cannot login as root in RedHat AS 3.0
Nov 18 07:51:52 ssoro363 login: ROOT LOGIN REFUSED ON pts/1 FROM localhost
in /var/log/secure appears:
Nov 18 07:51:47 ssoro363 xinetd[31752]: START: telnet pid=24153 from=127.0.0.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2005 06:02 AM
01-27-2005 06:02 AM
Re: cannot login as root in RedHat AS 3.0
#PermitRootLogin yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2006 10:38 AM
12-06-2006 10:38 AM
SolutionFirst, edit /etc/securetty and add pts/0 to let say pts/8
Second, you have to use telnet-server package, because krb5-telnet does not allow root login via telnet.
Third, remember that in.telnetd is invoked through superdaemon xinetd, therefore you have to have it running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2006 02:44 PM
12-08-2006 02:44 PM
Re: cannot login as root in RedHat AS 3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 11:18 AM
10-14-2008 11:18 AM