Re: Manager account
Jeremy Kitchen <[email protected]> Fri, 18 Nov 2005 10:12:03 -0800
| Newsgroups | gmane.network.pureftpd.user |
|---|---|
| Organization | GreyStar Solutions |
| Message-ID | <[email protected]> |
On Friday 18 November 2005 04:13 am, Olsson Mattias wrote: > Hi all! > > Im a newbie to the server... please bare with me:) > > I wish to have two acconunts om my ftp serrver, one user account and one > manager account. > The user "ftpuser" will have a home folder of /home/ftpuser. Ftpuser > shall only have the right to put files and download files from a link > sent to him, no read rights. > The user "ftpmgr" shall have its own home folder or use the same as > ftpuser but ftpmgr shall have r+w+x so that he can remove/move files > around. > > How can i set this up with pureftpd, will i need another copy running on > another port or can this be configured in the .conf file? pure-ftpd is a lot simpler than many ftp servers. It uses the permissions of the underlying filesystem to determine what 'rights' a user has, with some exceptions (uploading, anonymous uploading, etc) What you'll want to do is have your two users, and set your permissions on the directory properly: users: ftpuser ftpmgr mkdir /path/to/your/ftp/root chown ftpmgr:users /path/to/your/ftp/root chmod 0730 /path/to/your/ftp/root this should allow the ftpmgr user full access to the directory, and anyone in the users group can upload and retrieve files, but cannot get a directory listing. -Jeremy -- Jeremy Kitchen ++ [email protected] In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDfhlzyBTJv0gb9+IRAmzdAKCW7tNxddDBWCG8cPrtZPpbDxJ1lQCgtZQO 64mEzU32Ak3iOXf6Wt4uDmg= =gJrU -----END PGP SIGNATURE-----