1. Start the gssftp Service
Setup-> select gssftp;
2. Modify the gssftp File
VI/etc/xinetd. d/gssftp;
The modified content is as follows:
Service ftp
{
Disable = No
Flags = Reuse
Socket_type = stream
Wait = No
User = root
Server =/usr/Kerberos/sbin/ftpd
# Server_args =-l-
Server_args =-l
Log_on_failure + = userid
}
Note two points: A, disable = no; B, server_args =-L;
3. Service xinetd restart;
4. inspection:
Run the command FTP 127.0.0.1 on the local machine.
If the following content appears, click OK. If the root user fails to log on to the system, check the 5th entries:
Connected to localhost (127.0.0.1 ).
220 localhost. localdomain FTP Server (version 5.60) ready.
Name (localhost: Root): Root
331 Password required for root.
Password:
5. Modify/etc/PAM. d/FTP (telnet is to modify login)
This line is blocked, for example: # auth required/lib/security/pam_securetty.so