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
SAN Configuration in Solaris Remi UNIX for Advanced & Expert Users 3 03-19-2008 12:42 PM
SAN Configuration in Solaris Remi SUN Solaris 0 12-26-2006 04:26 PM
Apache Configuration issue on Solaris rahulrathod SUN Solaris 1 10-20-2005 09:36 PM
Solaris 9 & USR USB Modem Configuration khurram SUN Solaris 1 09-21-2005 04:38 AM
Network configuration in Solaris 8 Ask Me UNIX for Dummies Questions & Answers 8 02-22-2002 06:23 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-04-2001
Registered User
 

Join Date: Oct 2001
Posts: 7
Unhappy FTP configuration in Solaris 5.7

Hi everybody !
How can I configure the ftp in solaris systems ? Wich files ?
To resume : I want to create a user wich can get from a ftp session running from a PC, some files without going up in the directories. If I attached the ksh or sh shell to the user, he can go wherever he wants. If I attached the rksh shell, OK for a telnet session but problem : no ftp session is allowed. The same for the shell /bin/false.
If someone has got an idea, I take it !!!
Thanks a lot.
MarcoW
Forum Sponsor
  #2  
Old 10-04-2001
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,614
You need to put /usr/bin/false in the file called /etc/shells. Then you can give a user /usr/bin/false for a shell and they can use ftp.

But be careful of the restricted shells. They're easy to break out of.
  #3  
Old 10-04-2001
Registered User
 

Join Date: Oct 2001
Posts: 7
Smile

Thanks a lot !
But one other problem is that the ftp doesn't take the shell account. So if I place /bin/false as shell, the user won't be able to open a telnet session, that's great... But how can I configure the FTP for this user not to go in a other directory upper his home directory?
  #4  
Old 10-04-2001
DPAI's Avatar
Registered User
 

Join Date: Jul 2001
Posts: 112
Have to give him restricted access
Create a chrooted environment for that user ..
man ftpd has the details on how to
  #5  
Old 10-10-2001
Registered User
 

Join Date: Oct 2001
Posts: 7
Unhappy

Thanks a lot !
But how can I use chroot. The script is only working for anonymous and then enter password, but not for a defined user with password. Could you help me please ?
Thanks
Marco
  #6  
Old 10-10-2001
Registered User
 

Join Date: Oct 2001
Posts: 7
Unhappy

Quote:
Originally posted by MarcoW
Thanks a lot !
But how can I use chroot. The script is only working for anonymous and then enter password, but not for a defined user with password. Could you help me please ?
Thanks
Marco
  #7  
Old 10-22-2001
DPAI's Avatar
Registered User
 

Join Date: Jul 2001
Posts: 112
Ok , The method i told u to use works only on SGI IRIX . sorry ..
For Solaris u can use proftpd . U can get the binaries at
proftpd.net .....
setting the config for DefaultRoot does the trick

DP

Last edited by DPAI; 10-22-2001 at 03:06 PM.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0