![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there a Login Log? | Dave Miller | UNIX for Dummies Questions & Answers | 2 | 02-04-2008 09:24 AM |
| cannot login | dfgdnsljdlkjl2 | Forum Support Area for Unregistered Users & Account Problems | 0 | 07-16-2007 04:47 AM |
| cannot login after changing login shell | hardesh | HP-UX | 4 | 09-13-2005 09:21 PM |
| last login | csaunders | SUN Solaris | 3 | 05-17-2004 08:56 AM |
| why i have local.profile, local.cshrc,local.login instead of .profile, .login ? | abidmalik | UNIX for Dummies Questions & Answers | 5 | 08-26-2002 10:47 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
FTP & login
Folks;
Is there a way in UNIX to do the following: When users use FTP to login to a mounted drive on Solaris server, if that was their first time login a home directory for that user will be created & if the home directory exists it won't create a home directory (user should not have a login shell, just a home directory), for more explanation: If user xyz try to ftp to a mounted drive called "/huge" on Solaris server, if that was his first login, the system should check to see if the user has a directory under "/huge/xyz", if he has one, system would automatically take him there. if he doesn't have one, the system should create a directory called "/huge/xyz" for that user & take him there. Any help will be very much appreciated |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
.. maybe this is losing something in translation:
...if the user doesn't have a shell, how is the user supposed to log in? .. you cannot FTP to a mounted drive. You ftp to a host. Maybe a better approah would be to explain why you want to do this.. |
|
#3
|
|||
|
|||
|
Sorry for not making it clear.
The user will login into the host that has the mounted drive on. The reason we're doing this is to allow these users access to their home directory only through FTP, so if they want to write/add files to their home directories, they can't login to the host, i want them have no access except through FTP only |
|
#4
|
||||
|
||||
|
Again, access through FTP requires a login to the host. If you want to give users access to /huge without letting them log into the host /huge is mounted on, the easiest way would be to share that drive through NFS, and within /huge, create a directory that's writable to them where they can put their stuff.
|
|
#5
|
|||
|
|||
|
Sorry i totally messed up the requirements. But here's the right ones:
- /huge is a mounted drive on a Solaris 10 server. we need to have users login through FTP to this Solaris host so they can write to that drive (They will be authenticated through LDAP). We need these users not to be able to login except through FTP. Is that possible? |
|
#6
|
||||
|
||||
|
AFAIK, LDAP doesn't restrict which protocol the user employs to login to a server; I may be wrong, but I'm no LDAP expert, and someone will correct me if I'm wrong... I guess the easiest way I see would be to just shut down all remote login services (telnet, ssh, etc) into the Solaris 10 server but for ftp, or remove the server from LDAP and make it a standalone ftp server.
|
|
#7
|
|||
|
|||
|
Quote:
|
|||
| Google The UNIX and Linux Forums |