ftp-directory


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ftp-directory
# 1  
Old 10-02-2000
Some users get on our server with ftp with a specific username (i.e. guest). The users guest has an own group. The user guest is in the path /usr/guests after login.
How can I lock the user guest that he don't get up to the /usr treee. I tried to change the rights for the ..
But it's not anymore possible to log in as guest.
# 2  
Old 10-03-2000
I was not able to fully understand your question or configuration so the reply will be 'fuzzy' based on fuzzy
knowledge.
<P>
There are many way to restrict access to directories and
subdirectories. One is using permissions (as you discuss briefly) another is the chroot command, which will comletely change the root 'of the tree'.
<P>
Normally, when adminstrators want remote users to have on
certain commands and access they change the root directory
of the users and provide them with a subject of the commands they need in a custom bin directory. So,
instead of trying to restrict users to only a certain part
of a large system; they are provided only access to the
commands they need. This is much more secure, safer, and
easier to manage by far.
<P>

<P>
Recommendation: Check out the chroot() command and set up an environment for your 'guest users' using this strategy.


 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Replicate remote directory to local directory with ftp

I have system that generate files every 1 hours , i only have ftp connection from my local server to remote . $ ls -al -rw-r--r-- 1 water None 0 Feb 7 18:09 a.0800 -rw-r--r-- 1 water None 0 Feb 7 18:09 a.0900 -rw-r--r-- 1 water None 0 Feb 7 18:09 a.1000 is there any perl / php... (3 Replies)
Discussion started by: before4
3 Replies

2. Shell Programming and Scripting

ftp whole directory

HI Guys, I have downloaded the oracle binaries from oracle.com, i have unziped them in a directory say OWB. I have to copy them to my windows server so i have ran the ftp command. It looks like i can ftp whole directory. Can you please get me the command to get all the files and... (7 Replies)
Discussion started by: guddu_12
7 Replies

3. Shell Programming and Scripting

FTP from one directory to another using perl

Hi All I am stuck with a problem and i want your help, I have two directories dir1 and dir2 The files present in dir1 is a1,a2 a3 a4 What i want to is to FTP the files present in the dir1 to dir2 (with .txt extension at the end.) with the help of the Perl. The output expected is The... (12 Replies)
Discussion started by: parthmittal2007
12 Replies

4. Shell Programming and Scripting

Is it possible to move a directory using ftp??

Hi all, Is it possible to move a directory using ftp service?? (2 Replies)
Discussion started by: eeegopikannan
2 Replies

5. Shell Programming and Scripting

FTP files from different directory from remote server to one directory in local

Hi All, I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Discussion started by: dassv
3 Replies

6. AIX

ftp mget directory

Hi, I have searched everywhere for an answer to this question but couldn't find one so I ask it here. From an AIX 5.3 machine I ftp to another AIX 5.3 server. I want to get all files and only files in a directory. This directory has a subdirectory with files in it. In ftp, I enter the... (5 Replies)
Discussion started by: bheinsius
5 Replies

7. Solaris

ftp default directory

how to change the default login directory for a specified user when ftp to unix machine. (1 Reply)
Discussion started by: mm00123
1 Replies

8. UNIX for Dummies Questions & Answers

can we ftp a directory

Hi guyz, Is there any way to ftp a whole directory structure. I mean is there any way using which I can get the whole directory ftpied including the subdirectories Thanks and regards, Gauravv (17 Replies)
Discussion started by: gauravgoel
17 Replies

9. UNIX for Dummies Questions & Answers

Downloading whole directory with FTP

Is it possible using FTP to download a whole directory and all subdirectories at once without having to go through every single file? Thanks, Tom (4 Replies)
Discussion started by: Pokeyzx
4 Replies

10. UNIX for Dummies Questions & Answers

ftp a directory

How does one ftp an entire directory from one Solaris 5.9 machine to another with out moving one file at a time? (4 Replies)
Discussion started by: DarkLord
4 Replies
Login or Register to Ask a Question