virtual ssh users w/ quotas

Jordan Curzon curzonj at
Tue Mar 1 12:36:25 MST 2005

and why not run this through LDAP, it might be easier? the chroot
requires all the binaries in the user's directory. If you are looking
at a public system selinux may be of help to give you more protection
than just file system permissions.

On Tue, 01 Mar 2005 00:00:33 -0700, Dan Wilson <dan at> wrote:
> Has anyone done virtual ssh users using pam-mysql? I'm exploring this
> and am struggling to get it to work.  There doesn't seem to be any
> how-to or anything out there.  Here's what I'd like to do:
> 1. Allows users to login based on authentication info in a mysql table
> 2. Get the user's $HOME from mysql and chroot the user to that dir
> 3. Get the user's quota from mysql and enforce it through the linux
> filesystem
> Does anyone know of a solution that would allow me to do this?  I can
> even live without #2 as long as we have proper permissions.
> Thanks,
> -Dan
> .===================================.
> | This has been a P.L.U.G. mailing. |
> |      Don't Fear the Penguin.      |
> |  IRC: #utah at   |
> `==================================='

More information about the PLUG mailing list