Subject: chroot: why super-user only?
To: None <tech-kern@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 01/23/2003 16:42:27
Does chroot(2) require super-user privileges so that you cannot fool a
setuid program such as passwd into reading or writing a different file
than /etc/passwd ? Is there any other reason?

Put another way, under what conditions is it safe for a non-root user
to chroot(2)?

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Engineering from the Right Brain
                        Urbana, IL * (217) 278-3933