Thursday, March 22, 2012

Allow Telnet Server With Root

Here are a configuration for allow Telnet Server with "root" user. Now you can see my previous configuration Telnet Server allow only user not super user "root" because Telnet Server by default not allowed "root" user first of all security reason and also some reason. This Telnet Server will be allowed root user so starting this configuration for allow Telnet with "root" see the step....

See the previous Telnet Server configuration Click here

Am going to show you error to log in "root" to Telnet Server here are two machine first is Telnet Server machine second is Client machine.

1. [root@localhost ~]# telnet 192.168.0.2


2. [root@server ~]# tail -f /var/log/secure


2. [root@server ~]# vim /etc/pam.d/remote


Un comment first line like this.             #auth       required     pam_securetty.so

Save and exit { wq! }.

3. [root@server ~]# /etc/init.d/xinetd restart
4. [root@server ~]# chkconfig xinetd on


### Enjoy the magic###




Favorites