01-05-2008
The only way I see to really do that is to have a separate ftp server that has only a few admin shell accounts. Then it can export a filesystem via NFS to other boxes in readonly mode. I know that a separate server wasn't what you were looking for, but the cost should be small. A retired pc from yesteryear could be reused with linux or bsd for little cost.
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 SUSE
ocf_heartbeat_filesystem
OCF_HEARTBEAT_FILESY(7) OCF resource agents OCF_HEARTBEAT_FILESY(7)
NAME
ocf_heartbeat_Filesystem - Manages filesystem mounts
SYNOPSIS
Filesystem [start | stop | notify | monitor | validate-all | meta-data]
DESCRIPTION
Resource script for Filesystem. It manages a Filesystem on a shared storage medium. The standard monitor operation of depth 0 (also known
as probe) checks if the filesystem is mounted. If you want deeper tests, set OCF_CHECK_LEVEL to one of the following values: 10: read first
16 blocks of the device (raw read) This doesn't exercise the filesystem at all, but the device on which the filesystem lives. This is noop
for non-block devices such as NFS, SMBFS, or bind mounts. 20: test if a status file can be written and read The status file must be
writable by root. This is not always the case with an NFS mount, as NFS exports usually have the "root_squash" option set. In such a setup,
you must either use read-only monitoring (depth=10), export with "no_root_squash" on your NFS server, or grant world write permissions on
the directory where the status file is to be placed.
SUPPORTED PARAMETERS
device
The name of block device for the filesystem, or -U, -L options for mount, or NFS mount specification. (required, string, no default)
directory
The mount point for the filesystem. (required, string, no default)
fstype
The optional type of filesystem to be mounted. (required, string, no default)
options
Any extra options to be given as -o options to mount. For bind mounts, add "bind" here and set fstype to "none". We will do the right
thing for options such as "bind,ro". (optional, string, no default)
statusfile_prefix
The prefix to be used for a status file for resource monitoring with depth 20. If you don't specify this parameter, all status files
will be created in a separate directory. (optional, string, default .Filesystem_status/)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60.
stop
Stops the resource. Suggested minimum timeout: 60.
notify
Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum timeout: 40. Suggested interval: 20.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a Filesystem resource using the crm(8) shell:
primitive example_Filesystem ocf:heartbeat:Filesystem
params
device=string
directory=string
fstype=string
op monitor depth="0" timeout="40" interval="20"
SEE ALSO
http://www.linux-ha.org/wiki/Filesystem_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_FILESY(7)