01-05-2008
You said "if they want to add files/directories to that drive they have no choice but using FTP". This sounds like they should be able to read via shell access. So you export it to another box for read access via shell accounts. If you mean ftp only, no shell accounts ever allowed for any purpose, that is easy. Make their login shell /bin/true. You probably then need to add /bin/true to /etc/shells so that ftp will work depending on what ftpd software you use. Accounts like this are ftp only. Do not add /bin/false to /etc/shells. Then you can change the shell to /bin/false to disable ftp access.
If you have some other requirement, express it more clearly.
10 More Discussions You Might Find Interesting
1. Cybersecurity
I just setup my ftp server on Solaris 8. Everything works fine...except I do not want to allow certain users to be able to change directories outside of their /home directory. In other wors I don't want everyone to be able to view files in other folders outside of their home directoy. I know how to... (1 Reply)
Discussion started by: jskillet
1 Replies
2. UNIX for Dummies Questions & Answers
Current setup:
I am running Solaris 8 and PROFtpd. I have my network functioning correctly. The server can be pinged from any machine on the network. There is no firewall between the client and the server. The proftpd service is running using the correct and only proftpd.conf file in standalone... (5 Replies)
Discussion started by: zbis12
5 Replies
3. UNIX for Dummies Questions & Answers
I created a user which I would like to have access only to FTP. I am able to get FTP to the machine with that user, but I only want him to have access to two directories, and no shell access. How can I accomplish this?
Thanx,
Aaron (1 Reply)
Discussion started by: Spetnik
1 Replies
4. UNIX for Dummies Questions & Answers
How to restrict ftp user to move to the parent directory of his home directory.
Any suggestions will be appreciated.
O.S Sun solaris
Regards (3 Replies)
Discussion started by: sehgalniraj
3 Replies
5. Solaris
Hi ,
I want to deny ftp access to some user. Currently I don't have /etc/ftpusers file. From the man page , i can modify the login shell at /etc/passwd to invalid one. How to add it ? replaced with /dev/null or something. If you have any other method to disabled it . Pls show me.
My FTP is... (10 Replies)
Discussion started by: skully
10 Replies
6. Red Hat
Hi dear all
When i try to connect to an ftp site it shows the following error
"An FTP authentication failure occurred while trying to retrieve the URL: ftp://xyz.org/
Squid sent the following FTP command:
PASS <yourpassword>
and then received this reply
User anonymous cannot log in"
I... (3 Replies)
Discussion started by: surfer24
3 Replies
7. Solaris
Hello,I must share file from Linux machine to Solaris.I've enabled ftp with svcadm enable ftp,when I connect from Linux box I have this
"Name (192.168.1.4:root): anonymous
331 Guest login ok,send your complete e-mail address as password
Password : (I give my e-mail address)
530 Login incorrect... (3 Replies)
Discussion started by: bgf0
3 Replies
8. IP Networking
hi,
I was wondering why I can't connect through Terminal to my FTP server.
It perfectly works through client FTP (I've attached an image with settings)
http://dl.getdropbox.com/u/72686/cushy2.png
But I can't using the terminal
I tried many times the same password I use on FTP... (4 Replies)
Discussion started by: aneuryzma
4 Replies
9. UNIX for Advanced & Expert Users
Hello all,
I am currently writing an application that besides other thing ,ftps files from remote machines (running linux and solaris). My problem is this: i am connecting to remote machines as a user other than root and i have found that there is a possibility that i will encounter folders with... (3 Replies)
Discussion started by: noam128
3 Replies
10. AIX
Hi all,
I'm using AIX v 5.3
I want to create system users to access through ftp or sftp and restrict those users into specific directory and don't traverse the whole file system just to be restricted within a directory and don't get shell access . i don't want to use any other third party... (7 Replies)
Discussion started by: h@foorsa.biz
7 Replies
LEARN ABOUT DEBIAN
authen::simple::ftp
Authen::Simple::FTP(3pm) User Contributed Perl Documentation Authen::Simple::FTP(3pm)
NAME
Authen::Simple::FTP - Simple FTP authentication
SYNOPSIS
use Authen::Simple::FTP;
my $ftp = Authen::Simple::FTP->new(
host => 'ftp.company.com'
);
if ( $ftp->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::FTP
PerlSetVar AuthenSimpleFTP_host "ftp.company.com"
<Location /protected>
PerlAuthenHandler Authen::Simple::FTP
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTION
Authenticate against a FTP service.
METHODS
* new
This method takes a hash of parameters. The following options are valid:
* host Connection host, can be a hostname or IP number. Defaults to "localhost".
host => 'ftp.company.com'
host => '10.0.0.1'
* port Connection port, default to 21.
port => 21
* timeout
Connection timeout, defaults to 60.
timeout => 60
* log Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple::FTP')
* authenticate( $username, $password )
Returns true on success and false on failure.
SEE ALSO
Authen::Simple.
Net::FTP.
AUTHOR
Christian Hansen "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2008-03-01 Authen::Simple::FTP(3pm)