Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

openssh-4.2p1-chroot on Tru64 Unix 5.1b

Subject: openssh-4.2p1-chroot on Tru64 Unix 5.1b
Date: Fri, 20 Apr 2007 07:09:21 +1000
Hi,

I am trying to setup openssh-4.2p1-chroot (obtained from
http://chrootssh.sourceforge.net ) on an Alpha server running Tru64
Unix 5.1b.  I have created a chroot area and it is working correctly
when I run "chroot /path/to/chroot /bin/sh" , but when my chroot user
logs in via ssh they are not chrooted.  I have checked that the source
code is patched, the user is connecting to the patched daemon, and
that the users home directory is configured with a "dot" in it.

During my debugging I have noted that the do_setusercontext function
from session.c is not being called when I login.  As far as i can
tell, this is because the post-authentication part of privsep is not
supported on Tru64.  Is anyone able to advise if this seems correct,
and if so is there a recommended alternate place in the code to
perform the chroot?

Any assistance is appreciated and please advise if further information
is required. Cheers.

Regards,
Mat Chai

<Prev in Thread] Current Thread [Next in Thread>
  • openssh-4.2p1-chroot on Tru64 Unix 5.1b, Mat C <=