5 replies
by stillatit
The setup information is contained in the man file for ftpd. man ftpd
In general, users are defined as normal system users, and default to their home directories. There are system files which modify this behavior. If you have done nothing except enable ftpd in /etc/inetd.conf, all your existing users should be able to use ftp.
Good luck.
by shanghai sam
by cpfeiffe
Generally speaking all users should be able to use FTP but check the file /etc/ftpusers. Any user account that is in this file will not be able to ftp to the workstation. If the daemon is running and the port is not commented out in /etc/services you should be OK. If you still can't gain access, perhaps something else is wrong. First make sure the user account can login directly at the console or with rlogin/telnet.
As for permissions and users, first I would add the line umask 077 to /etc/default/ftpd (you may need to create the file if it isn't already there). This says that when a user creates a file via ftp it assigns read, write and execute permission to only the owner of the file and no one else can touch it.
Next I would create the user accounts through your normal Solaris methods (editing the files, admintool, useradd, whichever you are more comfortable with). Give each user their own home directory. Change the permissions on the home directory to 700 (rwx------). Again this only allows the user to access this directory. Give the user(s) a general group id (create a new one). This ensures they won't have group access to system files.
Finally, you may want to set up anonymous ftp. If you do this isvery tricky in Solaris as many shared libraries are needed. The step by step would be too long for this answer, but if you need it just email my alias.
I hope this is what you are looking for.
by cwilly66
by cwilly66
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending