RE: I can't seem to get pam_chroot working.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have made some progress over the weekend and I believe I am very close to
getting everything to work as it should. If I 'su - chrooted_user',
chrooted_user I am asked for my credentials and I am placed into the jail.
This is GOOD! However, when I do it through SSH, my session dies almost
instantly. Would this be because I haven't copies a tty or SSHD into my
chroot dir? I know I am close. Once I have this going, there is going to be
a good HOWTO written up.

thanks again for your help!
AR.

-----Original Message-----
From: Ed Schmollinger [mailto:schmolli@xxxxxxxxxxxxxx]
Sent: November 2, 2003 6:50 AM
To: pam-list@xxxxxxxxxx
Subject: Re: I can't seem to get pam_chroot working.


On Sat, Nov 01, 2003 at 06:40:55PM -0700, Rustad, Aaron wrote:
> For the life of me, I can't figure out why I can't move forward on this
> little problem. If anyone has suggestions, I would love to hear them!

Two things to take a look at:

1. Does 'chroot /chroot /bin/bash' work?

2. Add the 'debug' flag as an argument to pam_chroot in the appropriate
  /etc/pam.d/ files.

-- 
Ed Schmollinger - schmolli@xxxxxxxxxxxxxx


_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux