TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:12313] telnet as root
On Thu, Jan 13, 2000 at 02:00:13PM -0600, Chad Juettner wrote:
> Hey,
>
> I know it's probably not such a good idea, but how do I make it so that I
> can telnet into a box as root, instead of having to come in as a user and
> su?
People will tell you to check out /etc/securetty. This is
obsolete advice. It may work, but securetty is a list of the tty's that
are considered secure, not a statement of whether or not you can log in
as root from a non-secure tty.
The non-obsolete method is to edit this file:
/etc/pam.d/login
and modify this line:
auth required /lib/security/pam_securetty.so
to say:
#auth required /lib/security/pam_securetty.so
Have fun (if at all possible),
--
Its name is Public Opinion. It is held in reverence. It settles everything.
Some think it is the voice of God. Loyalty to petrified opinion never yet
broke a chain or freed a human soul. ---Mark Twain
-- Eric Hopper (hopper@omnifarious.mn.org http://omnifarious.mn.org/~hopper) --
PGP signature