FTP access


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP access
# 1  
Old 01-03-2008
FTP access

Folks;
I'm working on building ACL for our Solaris 10 box. I'm going to use LDAP for authentication.

We have a mounted drive on that server & users would like to be able to write to it.

We need to restrict the write access to that mounted drive on the box to be only through FTP, so if they want to add files/directories to that drive they have no choice but using FTP

Any help?
# 2  
Old 01-05-2008
The only way I see to really do that is to have a separate ftp server that has only a few admin shell accounts. Then it can export a filesystem via NFS to other boxes in readonly mode. I know that a separate server wasn't what you were looking for, but the cost should be small. A retired pc from yesteryear could be reused with linux or bsd for little cost.
# 3  
Old 01-05-2008
Thanks Perderabo;
Your solution makes sense, but i'm not sure if i understand this part & don't know why do we need to export a file system, and which one would be in a read only mode. could you please explain in more details this part:

" Then it can export a filesystem via NFS to other boxes in readonly mode."

Thanks
Katkota
# 4  
Old 01-05-2008
You said "if they want to add files/directories to that drive they have no choice but using FTP". This sounds like they should be able to read via shell access. So you export it to another box for read access via shell accounts. If you mean ftp only, no shell accounts ever allowed for any purpose, that is easy. Make their login shell /bin/true. You probably then need to add /bin/true to /etc/shells so that ftp will work depending on what ftpd software you use. Accounts like this are ftp only. Do not add /bin/false to /etc/shells. Then you can change the shell to /bin/false to disable ftp access.

If you have some other requirement, express it more clearly.
# 5  
Old 01-05-2008
Sorry if my requirement was not clear enough. so here's better explanation:

I have a group of users who needs to access their home directories that exist on a mounted drive called /new
so every one will have his home directory called "/new/user_name"

now they need to add files to their home directories but i don't want them to directly login to the UNIX box to add files, i want them to have only one way to add/write files to their home directories which is through FTP only
# 6  
Old 01-05-2008
Are you trying to say they will have *no* login/shell access, only ftp?
# 7  
Old 01-06-2008
Yes
only FTP.
BTW: How can i disable login shell access to every user in the group?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

ftp access without shell access

Hi all, I'm using AIX v 5.3 I want to create system users to access through ftp or sftp and restrict those users into specific directory and don't traverse the whole file system just to be restricted within a directory and don't get shell access . i don't want to use any other third party... (7 Replies)
Discussion started by: h@foorsa.biz
7 Replies

2. UNIX for Advanced & Expert Users

FTP and access rights

Hello all, I am currently writing an application that besides other thing ,ftps files from remote machines (running linux and solaris). My problem is this: i am connecting to remote machines as a user other than root and i have found that there is a possibility that i will encounter folders with... (3 Replies)
Discussion started by: noam128
3 Replies

3. IP Networking

can't access with FTP using terminal

hi, I was wondering why I can't connect through Terminal to my FTP server. It perfectly works through client FTP (I've attached an image with settings) http://dl.getdropbox.com/u/72686/cushy2.png But I can't using the terminal I tried many times the same password I use on FTP... (4 Replies)
Discussion started by: aneuryzma
4 Replies

4. Solaris

Ftp access denied

Hello,I must share file from Linux machine to Solaris.I've enabled ftp with svcadm enable ftp,when I connect from Linux box I have this "Name (192.168.1.4:root): anonymous 331 Guest login ok,send your complete e-mail address as password Password : (I give my e-mail address) 530 Login incorrect... (3 Replies)
Discussion started by: bgf0
3 Replies

5. Red Hat

FTP access problem

Hi dear all When i try to connect to an ftp site it shows the following error "An FTP authentication failure occurred while trying to retrieve the URL: ftp://xyz.org/ Squid sent the following FTP command: PASS <yourpassword> and then received this reply User anonymous cannot log in" I... (3 Replies)
Discussion started by: surfer24
3 Replies

6. Solaris

how to deny ftp access

Hi , I want to deny ftp access to some user. Currently I don't have /etc/ftpusers file. From the man page , i can modify the login shell at /etc/passwd to invalid one. How to add it ? replaced with /dev/null or something. If you have any other method to disabled it . Pls show me. My FTP is... (10 Replies)
Discussion started by: skully
10 Replies

7. UNIX for Dummies Questions & Answers

FTP Access

How to restrict ftp user to move to the parent directory of his home directory. Any suggestions will be appreciated. O.S Sun solaris Regards (3 Replies)
Discussion started by: sehgalniraj
3 Replies

8. UNIX for Dummies Questions & Answers

FTP user access

I created a user which I would like to have access only to FTP. I am able to get FTP to the machine with that user, but I only want him to have access to two directories, and no shell access. How can I accomplish this? Thanx, Aaron (1 Reply)
Discussion started by: Spetnik
1 Replies

9. UNIX for Dummies Questions & Answers

FTP access problems

Current setup: I am running Solaris 8 and PROFtpd. I have my network functioning correctly. The server can be pinged from any machine on the network. There is no firewall between the client and the server. The proftpd service is running using the correct and only proftpd.conf file in standalone... (5 Replies)
Discussion started by: zbis12
5 Replies

10. Cybersecurity

Solaris 8 ftp access

I just setup my ftp server on Solaris 8. Everything works fine...except I do not want to allow certain users to be able to change directories outside of their /home directory. In other wors I don't want everyone to be able to view files in other folders outside of their home directoy. I know how to... (1 Reply)
Discussion started by: jskillet
1 Replies
Login or Register to Ask a Question