[GLLUG] have user login to chroot
Alec Warner
warnera6 at egr.msu.edu
Wed Aug 30 12:10:03 EDT 2006
Caleb Cushing wrote:
> I'm sure this is possible but not sure how. I'm talking logging in
> directly to the chroot... possibly having there home directory
> somewhere inside of it. would this be a matter of a .bash_profile (or
> other login script) or is it easier/harder?
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://mailman.egr.msu.edu/mailman/listinfo/linux-user
Afaik you need to use something funky here, you can't use bash (easily)
because the bash shell is running as a normal user; you would need a
setuid root chroot, or sudo rules to let them run chroot as their user.
PAM may let you do nastier stuff like that, but I'm unsure.
More information about the linux-user
mailing list