Dear friends,
I create new user
useradd -g other -d /export/home/sltftp -m -s /bin/bash -c "SLT user account for TMA ftp backup" sltftp
now i need do restrict thees
chmod
delete
overwrite
rename
from this user:(for all the files in the server ,sltftp user can only able to download the files)
please advice me how to do this..
Thanks
Daraka
If you're using the default FTP Daemon included with Solaris, there are configuration files location here:
/etc/ftpd
ls -l | grep -v total
-rw-r--r-- 1 root sys 1518 Jan 21 2005 ftpaccess
-rw-r--r-- 1 root sys 946 Jan 21 2005 ftpconversions
-rw-r--r-- 1 root sys 104 Jan 21 2005 ftpgroups
-rw-r--r-- 1 root sys 108 Jan 21 2005 ftphosts
-rw-r--r-- 1 root sys 114 Jan 21 2005 ftpservers
-rw-r--r-- 1 root sys 198 Jan 21 2005 ftpusers
1 Like
Thanks buddy!
I tried by editing ftpaccess file like this,
guestuser sltftp
delete no anonymous,guest
chmod no anonymous,guest
rename no anonymous,guest
overweight no anonymous,guest
I refferd folowing thread for this:
unix.com/solaris/146507-how-restrict-user-specific-directory-solaris-10-a.html
But its not work for me,when i ftp to server with user sltftp i can delete,modify files..
Any ideas friends?
Thanks,
Daraka
1 Like
Add the users to /etc/ftpd/ftpusers file. It will deny the access. FYI.
more /etc/ftpd/ftpusers
# ident "@(#)ftpusers 1.5 04/02/20 SMI"
#
# List of users denied access to the FTP server, see ftpusers(4).
1 Like
Finally i CREATE FTP ACCESS ONLY USER IN SOLARIS 10 WITH USER RESTRICTIONS(ACCESS RIGHTS)
Please refer my blog post :
Thanks for your replies friends