LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2006, 10:16 AM   #1
lcwilson95
LQ Newbie
 
Registered: Jul 2005
Posts: 10

Rep: Reputation: 0
Root Telnet


I am unable to login as root via telnet. I can login as any user, but not root. I also can not su root after I login as myself.

Can someone help me?
 
Old 08-11-2006, 10:44 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
What error message do you get? Did you supply the correct password?

root's telnet access may be blocked by additional security measures, like a PAM module.

Frankly, I wouldn't recommend root to login remotely, in any way. And certainly not via regular telnet (plain text passwords are then sent over the network!).
Rather, login as a regular user via ssh, then su to root.
 
Old 08-11-2006, 11:20 AM   #3
lcwilson95
LQ Newbie
 
Registered: Jul 2005
Posts: 10

Original Poster
Rep: Reputation: 0
I didn't receive any errors excpet incorrect login. I know the password works because I can log in to the sever from the console with it.

Tell me about PAM.
 
Old 08-11-2006, 04:07 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,842

Rep: Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868
If you're ABSOLUTELY sure you want to use telnet as root then edit /etc/securetty and uncomment one or more of the remote ttys (like pts/0) to allow root to remote connect to them.
Do as timmeke told you. Use ssh and su to root.

Regards
 
Old 08-16-2006, 02:34 AM   #5
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
PAM, or Pluggable Authentication Modules, allow you to define the rules for authentication, for changing passwords, for obtaining/changing sessions, etc for applications that support this.
They also contain the rules for general system authentication, for instance.

The modules are typically defined in files in /etc/pam.d.

Read "man pam" for further details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
login as root through telnet Sir_George Linux - Security 2 07-20-2006 04:57 PM
Telnet as Root? stath Linux - Networking 4 03-30-2005 02:19 PM
root access via telnet Goma_2 Linux - Security 9 02-09-2004 06:43 AM
telnet for root mairul Linux - Newbie 15 11-04-2003 02:15 AM
Cannot telnet as root bunghole Linux - Networking 5 11-02-2001 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration