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 are the daemons in VERITAS?

6 Answers   HCL,


What is difference between Hard and Soft mount?

1 Answers  


how can system identify run level at boot time?

5 Answers   Accenture,


can you explain about the vxencap command in veritas volume manager?

3 Answers   VeriSign, Wipro,


Options in ufsrestore

1 Answers  


Where do you get Alarm prompt?

1 Answers   IBM,


If you have multiple ethernet interfaces, how do you keep it from routing between them?

3 Answers  


What is the purpose of ha daemons in VCS servers?

4 Answers  


How will see the hostname

3 Answers  


How to modify the user from ragu to haz

3 Answers  


how do u configure the disk

5 Answers  


How ill you remove the subdisk and plexus

4 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)