![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cp can not access | HIEUNK | Shell Programming and Scripting | 5 | 04-26-2008 11:46 AM |
| ssh access | mm00123 | SUN Solaris | 8 | 08-30-2007 05:12 AM |
| How to access CD | sam71 | UNIX for Dummies Questions & Answers | 2 | 07-20-2005 03:53 PM |
| cp: cannot access | nguda | Shell Programming and Scripting | 4 | 11-07-2003 05:52 PM |
| Need help to access/mount so to access folder/files on a Remote System using Linux OS | S.Vishwanath | UNIX for Dummies Questions & Answers | 2 | 07-30-2001 09:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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? |
|
||||
|
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 |
|
|||||
|
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. |
|
||||
|
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 |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|