Thursday, May 19, 2005

Can't Login As Root From A Remote Terminal ? Telnet / FTP

Can't Login As Root From A Remote Terminal ?

When trying to login to the Solaris server by Super-user account via
the networking, getting: "Not on system console" and "Connection
closed by foreign host" messages, then was expelled from the system.

Modify the login file, must be logged on as root:

# vi /etc/default/login

Comment out the /dev/console line:

Looks like:

~ CONSOLE=/dev/console

Should look like:

~# CONSOLE=/dev/console

Exit vi and save the file:

:wq!

Top

I Can Telnet To A Box As Root, But Not ftp As Root

The following error message is returned:

'530 Login incorrect. Login failed.'.

Ftp for users other than root work just fine.

An automatic security auditing program created a /etc/ftpusers file,
with root as the single entry. Removing root from /etc/ftpusers solves
the problem.

Modify the /etc/ftpusers file, must be logged on as root:

# vi /etc/ftpusers

Comment out the root entry:

Looks like:

root

Should look like:

# root

Exit vi and save the file:

:wq!

Top

0 Comments:

Post a Comment

<< Home