LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2003, 06:34 PM   #1
ksoma
Member
 
Registered: Jun 2003
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154

Rep: Reputation: 30
Question Telnetting to comp does not allow Root login


When i try telnetting to my comp on my network at home, it lets me login as any user on my comp or as a "guest", but it will not let me login as root.. Most of the other problems I have seen with other people is that it only works with root and not the other users. Any suggestions?
 
Old 06-21-2003, 06:54 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Telnet? Use ssh instead.
To use root you would just 'su' to root and provide the password.
This is a security feature.
It allows you to login as a guest? Yikes. Do you want it to?
 
Old 06-21-2003, 07:25 PM   #3
grizzly
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1, Solaris 9, and IPcop
Posts: 101

Rep: Reputation: 15
Sounds like your telnet is set up not to allow root logins. This is a security feature that is set. It is best to login using the username, then su to root. If you feel you must login in as root, I am sure there is a place in the config. file you can change this. Also, when you use telnet your username and password and set unencrypted and any door knob with a packet sniffer could find out your password. You should look into SSH, it is much safer.

Mike
 
Old 06-21-2003, 09:27 PM   #4
ksoma
Member
 
Registered: Jun 2003
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154

Original Poster
Rep: Reputation: 30
Post

Thanks for the responses...I actually use SSH, but I was curious why I couldn't connect to my machine using my root username through telnet...was wondering where those settings were.

-Keerthan
 
Old 06-21-2003, 09:33 PM   #5
yangkuo
Member
 
Registered: Jun 2003
Distribution: Redhat9/Slackware9
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by ksoma
Thanks for the responses...I actually use SSH, but I was curious why I couldn't connect to my machine using my root username through telnet...was wondering where those settings were.

-Keerthan
on my Redhat 9 system, it is in the file /etc/pam.d/login

#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

the snippet above is the contents in the file, just comment out the line that says 'auth required pam_securetty.so'

but everyone in this post is right (i think u understand why), use SSH instead ...

 
Old 06-21-2003, 09:43 PM   #6
ksoma
Member
 
Registered: Jun 2003
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154

Original Poster
Rep: Reputation: 30
Cool

Thanks yangkuo ...that worked great. ....I was also wondering what the significance of the other commands in that file were and what they kind of mean if you wouldn't mind telling me. Well, thanks again.

-Keerthan
 
Old 06-21-2003, 09:57 PM   #7
yangkuo
Member
 
Registered: Jun 2003
Distribution: Redhat9/Slackware9
Posts: 35

Rep: Reputation: 15
Quote:
Originally posted by ksoma
Thanks yangkuo ...that worked great. ....I was also wondering what the significance of the other commands in that file were and what they kind of mean if you wouldn't mind telling me. Well, thanks again.

-Keerthan
i don't mind but i think it is best you do a 'man pam' to get the definitive answer !
 
Old 06-22-2003, 01:15 AM   #8
ksoma
Member
 
Registered: Jun 2003
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154

Original Poster
Rep: Reputation: 30
Thumbs up

Sounds good
 
Old 06-22-2003, 02:04 AM   #9
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
'man pam' huhhuh(In my best Beavis and Butthead voice) that sounds funny.

Man Pam, you are one crazy lady.
 
Old 06-22-2003, 06:45 AM   #10
soob
Member
 
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
the other day I had to type in "less cat" (huhhuh)

My boss gets worried about "killall ..."
 
  


Reply



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
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
can I shut down my comp without logging into root? ppcthug Linux - Newbie 10 02-13-2005 06:40 AM
how to do: using a linux comp to act as router for a windows comp grimhammer Linux - Networking 8 02-10-2005 09:56 PM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
couldn't ping a WinXp comp from Fedora Comp tanbetien Fedora 5 12-04-2003 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:06 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