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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ftp on v120

Status
Not open for further replies.

Nutounix

ISP
Sep 18, 2003
17
US
How do I enable ftp on my v120 server? I want to install a email/web software on the box and I need to ftp the files to the server. Should I create a dir for the software file prior to uploading them?
 
FTP on Solaris is normally enabled by default. Have you tried FTPing to the box?
If it's disabled you need to make sure there are entries for it in /etc/services:
ftp-data 20/tcp
ftp 21/tcp
and /etc/inetd.conf:
ftp stream tcp nowait root /usr/sbin/in.ftpd in.ftpd
If you edit either of these files you need "kill -HUP" the "inetd" process (or kill it and restart it).

You can create a directory for the software if you want, doesn't matter, it's up to you. You can do it from within FTP or otherwise.
 
I have those services listed. I also see my inetd.conf file reads ftp stream tcp tcpv6 nowait root /usr/sbin/in.ftpd in.ftpd should that be just tcp?
 
tcpv6 should be OK. Is your "inetd" process running? ("ps -ef | grep inetd"). What happens when you FTP to the Sun?
 
It was not. I restarted process and now it works. Thanks for the direction. Lets see how I do installing the software...
 
What would cause a message "Not on system console" when trying to telnet?
 
You are trying to login as "root" directly, which is not allowed (except on the console) depending on an entry in a file (/etc/default/login I think it is). Can't remember which entry it is, someone else will know (or ask Google). It's a security thing.

If you want to become root via a telnet you either have to login as another user and then "su -" or change the above config file accordingly to allow direct root telnets.
 
You need to comment out console in /etc/login/default to telent in as root, I do not recommend this. I would instead install ssh you can get it from and install it and grab putty and use it for the client piece.
 
remove root from /etc/ftpusers if using root user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top