How to enable the telnet or ftp session for one host

Answers were Sorted based on User's Feedback



How to enable the telnet or ftp session for one host..

Answer / mahesh

Enter host name or IP range in /etc/hosts.allow file to
allow telnet service.

/etc/default/login
#CONSOLE=/dev/console (comment CONSOLE line)

enter user name in /etc/ftpd/ftpusers file to allow or deny
ftp access

Is This Answer Correct ?    4 Yes 0 No

How to enable the telnet or ftp session for one host..

Answer / milan shah

Check the /etc/inetd.conf or /etc/xinetd.d file
or /etc/inet/inetd.conf to enable the ftp and telnet
services

#
ftp stream tcp nowait root /usr/sbin/ftpd ftpd
#telnet stream tcp nowait root /usr/sbin/telnetd
telnetd

uncomment for telnet as it is for ftp in above to enable
the services and restart the inetd service

# pkill -HUP inetd

Is This Answer Correct ?    2 Yes 0 No

How to enable the telnet or ftp session for one host..

Answer / sbrahman75

Edit the /etc/hosts.allow (it will have list of host to
access) -> This will show the user list on that host.-

/etc/hosts.deny (it will have list of host to access
deny)-> This will show the user list on that host.-

/etc/services file

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

What is uadmin and what does it do?

3 Answers  


attributes of FS

1 Answers  


Disaster recovery steps if OS corrupted

3 Answers  


I want to know how to Sechudle job using at and crontab so please give the explain with example please do the needful Regards Visva

2 Answers   Sapient,


How to unconfigure llt and gab

1 Answers  






In which file port No’s are defined

3 Answers  


How to set the time zion

3 Answers  


Which file will take place while booting

1 Answers  


How to change the default new user shell without mentioning -s /bin/sh in cmd useradd or usermod and which file we need to change? this is not for existing user

4 Answers   Tech Mahindra,


What are the daemons in nis server.

2 Answers  


In solaris while patching why should we break the mirroring?

1 Answers   Wipro,


How to find the versions?

2 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)