Discussion Locked

su - root

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

once I telnet into my linux development box,
I can't "su - root". but I can login locally with the same root passwd.
I can't seem to find out how and why.

thanks

7 replies

by eugen prokopiev

Under Linux you can't log in as root from telnet session - it's security hole. But you can just get superuser rights whithout starting a login mode shell - use "su" instead of "su - root".

Eugen

by gregsptl

if your not concerned about security on RedHat move the file /etc/securetty or add lots of pty's to the file. By saying not concerned I mean if your not connected directly to an ISP or your behind a firewall, or ... don't much care if your system goes up in smoke!

by net_chip

Do you mean?

1) You cannot login as root at the telnet session?
Answer: of course. This is a security step taken by linux to prevent anyone gaining root access. You can enable this by changing some of the system settings.

2) You have login asnormal users, but cannot su to root?
Answer: Have you check your /etc/group to see whether you are assigned priviledge to do su.

regards,

This discussion is closed to new replies.