The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-03-2008
Katkota Katkota is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 118
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 (permalink)  
Old 01-05-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,124
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 (permalink)  
Old 01-05-2008
Katkota Katkota is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 118
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 (permalink)  
Old 01-05-2008
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,124
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 (permalink)  
Old 01-05-2008
Katkota Katkota is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 118
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 (permalink)  
Old 01-05-2008
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Are you trying to say they will have *no* login/shell access, only ftp?
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0