LINK="#3366FF" VLINK="#A000A0">

"The Linux Gazette...making Linux just a little more fun!"


(?) The Answer Guy (!)


By James T. Dennis, tag@lists.linuxgazette.net
LinuxCare, http://www.linuxcare.com/


(?) Can't Log in as 'root' via telnet

From liberty on Tue, 18 Jan 2000

hi ; !

I can t make a "root" login from a computer to the linux computer with telnet , but I can make it with another name user , and after i can make "su" command .... do you know this problem or security,? thanks

(!) That's the way it's supposed to work. The normal login services check for a file named /etc/securetty and will refuse to accept a direct root login from any terminal/device that is not listed there.
Depending on the exact distribution and version it may be possible to simply rename that file if you insist on over-riding this policy and allowing root logins from anywhere. In other cases you might have to edit one or more of the "service" files under /etc/pam.d/ to remove the lines that refer to the PAM securetty module.
In general it is better to accept this policy and use 'su' Indeed it is even better to disable telnet and replace it with 'ssh' (which generally doesn't impose this restriction, though it can be configured to do so).


Copyright © 2000, James T. Dennis
Published in The Linux Gazette Issue 50 February 2000
HTML transformation by Heather Stern of Starshine Technical Services, http://www.starshine.org/


[ Answer Guy Current Index ] [ Index of Past Answers ] greetings 1 2 3 5
5 6 7 8 9
10 11   13 14 15 16 17
18 19 20 21 22 23 24  
26 27 28 29 30 31 32 33
34   36 37 38 39 42 41
42 43 44 45 46 47 48


[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Linux Gazette FAQ ] [ Next Section ]