You are not logged in. FREE Sign Up or Log In
|
Configuration FTP and Telnet Server For root Login
Summary: This article describe the details for letting root login ftp and telnet server. Details: 1. let root login on ftp server under linux usually, the super user 'root' is not allowed to login remotely, it is for the security issue,but you can change this condition by modifying a file. a. comment the root item in the file '/etc/vsftpd/ftpusers' b. comment the root item in the file '/etc/vsftpd/user_list' 2. modify the default directory for the ftp first of all , we should delete the user 'ftp' userdel -r ftp and then, we add the new user 'ftp', we assume that the home directory of the user is at '/mnt/qiutian/ftp' mkdir /root/ftp there needs some more thing to do for letting anonymous user login, and so we should change the right of the directory '/mnt/qiutian/ftp'. adduser -d /root/ftp -g ftp -s /sbin/nologin ftp chmod 755 /root/ftp 3. let super user root login the telnetd serverchown -R root.root /root/ftp since it is not a safe application, telnet doesn't let root login the linux host. If you want to change the situation, pls do like this: (1) vi /etc/pam.d/login or #auth required pam_securetty.so #comment this line! mv /etc/securetty /etc/securetty.bak (2) edit the file '/etc/securetty', add some lines below: pts/0 pts/1 pts/2 pts/3
Comments
|
Recent Posts
iPhone Wallpaper
visible bra straps Google Friend Connect for Joomla websites Beautiful Twins storing some pictures for sharing How doing yoga help you lose weight? Folding Speaker 域名所有权限确认 Remote cross-target debugging with GDB GDBserver Connecting with GDB to PowerPC 440 processor Syndication Tools |
|




Free Sign Up - Start Making Money on Flixya »




A COMMENT, by COMMENT, by COMMENT...
A BUNCH of hits and comments
ALWAYS make happy friends!
-adoneo
http://adoneo.flixya.com
http://www.poetry.com/Publications/search.asp?First=zdravko&Last=adamon&submit.x=0&submit.y=
0