Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set up FTP server on Solaris 8? 1

Status
Not open for further replies.

rishath

Programmer
Jan 20, 2004
59
US
I would like to set up an FTP server on my solaris 8 system, but I'm not clear with the installation steps. I would like to know how to setup and configure it! Any suggestions would be greatly appreciated!
 
Hi,

By default solaris has it owns ftp server installed. Step as follow:

1) vi /etc/inetd.conf. Uncomment line as below.

ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
#ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd

If you want o use both ipv4/ipv6 then uncomment the second line.

2) restart inetd ("kill -HUP inetd").
3) type "netstat -a | grep ftp". Ensure ftp is LISTEN mode.

*.ftp *.* 0 0 24576 0 LISTEN

4) to control who can ftp to your system edit file /etc/ftpusers. Include any username that you dont want them to ftp.

5) add user to the system to allow them to connect.
6) test ftp connection. Type "ftp localhost".
7) to hide ftp banner edit/create file "/etc/default/ftpd". Example: BANNER="WARNING: Authorised user only."

If you need more control on your ftp server, I suggest you use other ftp daemon like proftpd.

regards,
dbase77
 
Its me again! How can I setup username and password for FTP access in Solaris 8? I think I need to edit /etc/passwd file. Am I right?
 
Hi,

What you need just add username to your system.


dbase77
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top