How to Limit ftp access parameters for specific users?


 
Thread Tools Search this Thread
Operating Systems Solaris How to Limit ftp access parameters for specific users?
# 1  
Old 06-21-2013
Oracle How to Limit ftp access parameters for specific users?

Dear friends,
Smilie

I create new user
Code:
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
Code:
chmod
delete
overwrite
rename

from this userSmiliefor all the files in the server ,sltftp user can only able to download the files)

please advice me how to do this..
Thanks
Daraka Smilie

Last edited by Scott; 07-17-2013 at 09:34 AM.. Reason: Code tags
# 2  
Old 06-21-2013
If you're using the default FTP Daemon included with Solaris, there are configuration files location here:

Code:
/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

This User Gave Thanks to in2nix4life For This Post:
# 3  
Old 06-22-2013
Oracle

Thanks buddy!
I tried by editing ftpaccess file like this,

Code:
guestuser sltftp

delete no anonymous,guest
chmod no anonymous,guest
rename no anonymous,guest
overweight no anonymous,guest

I refferd folowing thread for this:
Code:
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

Last edited by Scott; 07-17-2013 at 09:35 AM.. Reason: Code tags
This User Gave Thanks to darakas For This Post:
# 4  
Old 07-17-2013
Add the users to /etc/ftpd/ftpusers file. It will deny the access. FYI.
Code:
 
more /etc/ftpd/ftpusers
# ident "@(#)ftpusers   1.5     04/02/20 SMI"
#
# List of users denied access to the FTP server, see ftpusers(4).


Last edited by Scott; 07-17-2013 at 09:35 AM.. Reason: Code tags
This User Gave Thanks to SunSolars_admin For This Post:
# 5  
Old 07-19-2013
Oracle Solved the problem :-)

Finally i CREATE FTP ACCESS ONLY USER IN SOLARIS 10 WITH USER RESTRICTIONS(ACCESS RIGHTS)
Please refer my blog post :
solaris4servers.blogspot.com/2013/06/create-ftp-only-user-in-solaris-10-with.html

Thanks for your replies friends Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Limit bash/sh user's access to a specific directory

Hello Team, I have Solaris 10 u6 I have a user test1 using bash that belong to the group staff. I would like to restrict this user to navigate only in his home directory and his subfolders but not not move out to other directories. How can I do it ? Thanks in advance (1 Reply)
Discussion started by: csierra
1 Replies

2. UNIX and Linux Applications

Limit Website access upto specific count

Hi to all, I am new to Linux. but i am facing issue with my web server in Ubuntu 11.10. In my webserver i want to restrict maximum users website access (e.g., suppose i want to restrict users to access web to 250 persons in single time). So can you please suggest me to how to do that in... (1 Reply)
Discussion started by: Chintanghanti
1 Replies

3. Solaris

Limit FTP user's access to a specific directory

Hi, I have searched "Limit FTP user's access to a specific directory" subject for 3 days. I found proftp and vsftp but i couldn't compile and install. Is there any idea. Please suggest. (6 Replies)
Discussion started by: hamurd
6 Replies

4. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

5. IP Networking

Does my provider limit my internet access or somesites access?

Hi Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies

6. AIX

Limit user access

We have gotten an application that will read and display logs in a report format. The application need a user name and password to access the AIX servers where the logs reside. My problem is the logs are in a few different file systems on the server. Is there any way to lock the user to only the... (1 Reply)
Discussion started by: daveisme
1 Replies

7. Red Hat

Restrict local users to access ftp

Hi, I had installed vsftp in rhel5 and i want to restrict all the local users from accessing the ftp. i want to allow specific users to access the ftp server. Request you to please help. Thanks & regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

8. UNIX for Dummies Questions & Answers

kernel giving access for multiple users to access files

hi all, i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies

9. UNIX for Advanced & Expert Users

Restrict access to specific users.

Hi All! I would like to know if there is any specific way by which I can restrict access to apecific users (ip addresses). OS : Red hat linux Thanks! nua7 (6 Replies)
Discussion started by: nua7
6 Replies

10. IP Networking

Limit host/ip for users!

Help Please. anyone can tell me how to limit ip/hosts for users? Thanks (2 Replies)
Discussion started by: star
2 Replies
Login or Register to Ask a Question