The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Is there a Login Log? Dave Miller UNIX for Dummies Questions & Answers 2 02-04-2008 12:24 PM
cannot login dfgdnsljdlkjl2 Forum Support Area for Unregistered Users & Account Problems 0 07-16-2007 07:47 AM
cannot login after changing login shell hardesh HP-UX 4 09-14-2005 12:21 AM
last login csaunders SUN Solaris 3 05-17-2004 11:56 AM
why i have local.profile, local.cshrc,local.login instead of .profile, .login ? abidmalik UNIX for Dummies Questions & Answers 5 08-27-2002 01:47 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-12-2008
Katkota Katkota is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 118
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
  #2 (permalink)  
Old 01-13-2008
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
.. 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 (permalink)  
Old 01-13-2008
Katkota Katkota is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 118
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 (permalink)  
Old 01-14-2008
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
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 (permalink)  
Old 01-15-2008
Katkota Katkota is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 118
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 (permalink)  
Old 01-16-2008
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
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 (permalink)  
Old 10-13-2008
gp100 gp100 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 1
Quote:
Originally Posted by Katkota View Post
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?
Katkota - Did you ever find a solution to this?
Closed Thread

Bookmarks

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 08:30 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