FTP configuration in Solaris 5.7

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP configuration in Solaris 5.7
# 1  
Old 10-04-2001
Data 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.
# 2  
Old 10-04-2001
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

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
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

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 ?
# 6  
Old 10-10-2001

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 ?
# 7  
Old 10-22-2001
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


Last edited by DPAI; 10-22-2001 at 07:06 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris mailx Configuration

Hi, I need to send an output from Solaris to my email address. For example df -h to be sent out from the Solaris. I was wondering how to configure the mailx and smtp configuration to be setup. Has anyone setup before? Thanks. :confused::confused::confused: (0 Replies)
Discussion started by: freshmeat
0 Replies

2. UNIX for Dummies Questions & Answers

Missing FTP configuration files/commands

I was asked if I can create an FTP only user on a UNIX system I've inherited at work. (Solaris). I've worked on UNIX systems for a long time, but never really as an admin. I searched the web, and on this forum, for information on exactly how to do this. (The new user will also need to be... (4 Replies)
Discussion started by: HeyMoe
4 Replies

3. Solaris

IP configuration in Solaris

Hi Experts, - I have below two queries, please suggest. 1) I have 2 IP's in my server and want to remove 1 of the ip, so which are the files i need to modify as of my knowledge we need to modify (1) /etc/hosts remove the unwanted ip (2) /etc/hostname.interface_name Please suggest if any... (3 Replies)
Discussion started by: kurva
3 Replies

4. Solaris

ftp configuration

hi, I am using Solaris 10, actually i want to restrict user to access upper level directory while using ftp, means when user access a folder using ftp he has no access to go to base directory. If i am not wrong ftp configuration file use in solaris 10 is /etc/ftpd/ftpaccess kindly confirm, I... (1 Reply)
Discussion started by: zeeshan047
1 Replies

5. IP Networking

ftp configuration

Hi, I have been a unix box testing machine and I access to it through putty with my creditials now I have an sftp script to transfer files from that machine to some other ftp server but recently I come to know that due to some reason ftp server is not ready so I have to make my current machine... (0 Replies)
Discussion started by: rahul125
0 Replies

6. Solaris

SSH configuration in solaris 10

hye guys..i'm new here..just want to ask how to configure SSH service in solaris 10?? hope you all will help me..tq (2 Replies)
Discussion started by: FaiRiZuL
2 Replies

7. UNIX for Dummies Questions & Answers

DNS Configuration in Solaris 10

Hi All, I have a list of few DNS server with hostnmae and IP which I need to setup in Solaris Servers...Can any one pls tell me the steps for setting up the above in solaris 10 & 9???? (4 Replies)
Discussion started by: solaris5.10
4 Replies

8. Solaris

FTP - configuration

Hi all I need basic help to configure/check an FTP account on Solaris 9 (5.9) (by shell) with man ftp I'm not really able to configure that. On google or doc.sun.com I cant find a basic understanding of configuration an ftp server. Where are the files / setupfile. does somebody helps me with... (5 Replies)
Discussion started by: actino
5 Replies

9. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

10. Linux

FTP server configuration!

Hello, I use fedora linux. I want to configure my FTP server. Actually, I don't know anything about this server except that I know I have installed it. Please guide me with this. Thx (1 Reply)
Discussion started by: HSN
1 Replies
Login or Register to Ask a Question