01-04-2006
look at setting up anonymous ftp (see "man ftpd") and then change the permissions on all the directories to disable "reading" aka searching
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
In my system , the user can use ftp to access the system , how to restrict the user can only access a specific path eg . user's home directory & /tmp ? thx (3 Replies)
Discussion started by: ust
3 Replies
2. AIX
Hello
When i connect with anonymous login to Aix server, I can not to put or get file with this login.
How can I modify it to put file on the server ?
I think that it is with genftp.allow but I'm not sure (there is not the anonymous login in the genftp.allow file).
thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
3. UNIX for Dummies Questions & Answers
How to create an FTP user with password???? (1 Reply)
Discussion started by: tontal
1 Replies
4. Shell Programming and Scripting
I know the typical way to script automate an ftp session is to pass all of the commands to ftp, with something 'like' the following:
echo USER $user
echo PASS $pass
My question concerns other methods or tricks people have used so that the username and ESPECIALLY the password are... (7 Replies)
Discussion started by: joeyg
7 Replies
5. HP-UX
UNIX Xperts,
Is there a way i can find out who is currently ftping into my server?
The problem I am facing is that there is currently a ftp process running which is trying to login using the wrong password. And this is causing me to constantly have to reset the password /enable the account by... (1 Reply)
Discussion started by: simshark
1 Replies
6. UNIX for Advanced & Expert Users
Helo,
I have created one group called RBAC.(roll back access control)
Now when I created user of RBAC its entry in /etc/passwd file is given below:
roleadm:x:120:109:RBAC User:/home/pds_RBAC:/bin/false
I have keep at the end /bin/false because I dont want to give direct login to the user... (2 Replies)
Discussion started by: amitpansuria
2 Replies
7. Shell Programming and Scripting
hi
i want create a user to ftp (get) files from the 2nd machine.
but i want to give specific rights to that user that he can't access only specific files and directories.
please suggest (1 Reply)
Discussion started by: dodasajan
1 Replies
8. Solaris
Hello everybody,
In Solaris 10, how I can create an user with only access ftp to directory specify ?
thanks, (2 Replies)
Discussion started by: aav1307
2 Replies
9. Shell Programming and Scripting
Dear Unix geeks,
I am shocked and upset that I couldn't solve the below issue.
One ftpuser was using his account for years to get data from server but reported an error today. 220 (vsFTPd 2.0.4)
Name (10.130.9.71:root): rbiftp
331 Please specify the password.
Password:
500 OOPS: cannot... (2 Replies)
Discussion started by: Naga06
2 Replies
10. AIX
Hello AIXians,
I created a user 'test'
its home directory is: /home/ari/test
I tried to login by ftp using this account, but it failed!
The FTP service is enabled, and the user 'test' is not added to the /etc/ftpusers file. (3 Replies)
Discussion started by: Mohannad
3 Replies
LEARN ABOUT LINUX
ftphosts
ftphosts(4) File Formats ftphosts(4)
NAME
ftphosts - FTP Server individual user host access file
SYNOPSIS
/etc/ftpd/ftphosts
DESCRIPTION
The ftphosts file is used to allow or deny access to accounts from specified hosts. The following access capabilities are supported:
allow username addrglob [addrglob...]
Only allow users to login as username from host(s) that match addrglob.
deny username addrglob [addrglob...]
Do not allow users to login as username from host(s) that match addrglob.
A username of * matches all users. A username of anonymous or ftp specifies the anonymous user.
addrglob is a regular expression that is matched against hostnames or IP addresses. addrglob may also be in the form address:netmask or
address/CIDR, or be the name of a file that starts with a slash ('/') and contains additional address globs. An exclamation mark (`!')
placed before the addrglob negates the test.
The first allow or deny entry in the ftphosts file that matches a username and host is used. If no entry exists for a username, then access
is allowed. Otherwise, a matching allow entry is required to permit access.
EXAMPLES
You can use the following ftphosts file to allow anonymous access from any host except those on the class A network 10, with the exception
of 10.0.0.* IP addresses, which are allowed access:
allow ftp 10.0.0.*
deny ftp 10.*.*.*
allow ftp *
10.0.0.* can be written as 10.0.0.0:255.255.255.0 or 10.0.0.0/24.
FILES
/etc/ftpd/ftphosts
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpr |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
in.ftpd(1M), ftpaccess(4), attributes(5)
SunOS 5.10 1 May 2003 ftphosts(4)