![]() |
|
|
|
|
|||||||
| 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 |
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
Have to give him restricted access
Create a chrooted environment for that user .. man ftpd has the details on how to |
|
#5
|
|||
|
|||
|
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
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
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 |