FTP configuration in Solaris 5.7


 
Thread Tools Search this Thread
# 1  
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.
MarcoW
# 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  
Bug

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  
Data

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  
Data

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
Smilie
# 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 08:06 PM..
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #724
Difficulty: Medium
The Plan 9 operating system was the first machine to achieve a Master rating in chess.
True or False?

10 More Discussions You Might Find Interesting

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

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

3. UNIX for Advanced & Expert Users

Zone Configuration in Solaris 10

We have solaris 10 server that has the been re-installed with OS after OS got currupted. The old ZONE contents has been now restored from backup.Now when we try to check for the zones by listing command, I could find only global zone running. Kindly let me know how to install/configure the zone to... (2 Replies)
Discussion started by: hydoss1
2 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

Solaris 2.6 PAMs configuration

Greetings, I'm in the process of configuring a Solaris 2.6 SPARCstation 5. The only real experience I have in doing this is from configuring Solaris 8, which seemed to go a lot more smoothly. One of the problems I have is implementing the PAMs module pam_history.so.1. The configuration file for... (0 Replies)
Discussion started by: rrossorr
0 Replies

7. Solaris

Solaris Network Configuration

Hi How do I configure a network card in Solaris 10? using the command ifconfig, and also please advise me for persisting this ip address what are the files newly created and modify. I am a new baby in solaris:) (4 Replies)
Discussion started by: vipinmurali
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

Featured Tech Videos