Re: PAM messages on chrooted console

2003-06-01 Thread Ming Hua
Thanks everyone for your kind help! Since I am setting this chroot environment as an experimental area (maybe I'll install sid there), security is not a big concern. Therefore I used Andreas' solution: modify /etc/init.d/sysklogd to SYSLOGD='/var/chroot/dev/log' and restart syslogd. I am goin

Re: PAM messages on chrooted console

2003-05-31 Thread Russell Coker
On Sat, 31 May 2003 17:54, Andreas Metzler wrote: > The simplest solution is to use SYSLOGD="-a /path/to/chroot/dev/log" > in /etc/init.d/sysklogd to get the main syslogd to grab the messages > from the chroot, too. You can get the same result on a 2.4.x kernel with the --bind mount option which

Re: PAM messages on chrooted console

2003-05-31 Thread Arthur de Jong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > After restarting init my tty6 works, however I keep getting PAM messages > on my console such as: > PAM_unix[19031]: (login) session opened for user minghua by minghua(uid=0) > I noticed such messages go to /var/log/auth.log in my stardard > install

Re: PAM messages on chrooted console

2003-05-31 Thread Andreas Metzler
Bas Zoetekouw <[EMAIL PROTECTED]> wrote: > You wrote: >> After restarting init my tty6 works, however I keep getting PAM messages >> on my console such as: >> PAM_unix[19031]: (login) session opened for user minghua by minghua(uid=0) >> I noticed such messages go to /var/log/auth.log in my stardard

Re: PAM messages on chrooted console

2003-05-31 Thread Russell Coker
On Sat, 31 May 2003 16:33, Bas Zoetekouw wrote: > You are probably nor running syslogd and/or klodg in the chroot. I'm > not sure is that's possible, though. klogd in the chroot makes no sense. syslogd in the chroot is doable. You have to configure things such that no more than one syslogd lis

Re: PAM messages on chrooted console

2003-05-31 Thread Bernd Eckenfels
On Sat, May 31, 2003 at 08:33:54AM +0200, Bas Zoetekouw wrote: > You are probably nor running syslogd and/or klodg in the chroot. I'm > not sure is that's possible, though. Yes, you have 2 options, use the outside syslog (by using udp or additional named pipe) or start a second syslog in the inne

Re: PAM messages on chrooted console

2003-05-31 Thread Bas Zoetekouw
Hi Ming! You wrote: > After restarting init my tty6 works, however I keep getting PAM messages > on my console such as: > PAM_unix[19031]: (login) session opened for user minghua by minghua(uid=0) > I noticed such messages go to /var/log/auth.log in my stardard > installation, however this log in