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. |

| Subject: | RE: Who to run sshd as |
|---|---|
| Date: | Mon, 30 Oct 2006 15:00:04 -0800 |
Personally I use the privilege separation with SSHD so it can start and bind to port 22, but when ever someone logs in a child process starts with no privileges, it has a home directory of /var/empty and the shell on my Solaris and HPUX boxes is /usr/bin/false and on Linux it's /sbin/nologin. The user gets a child under their name only, so no more privileges than you allow that user. This capability has been part of OpenSSH for quite a while now, I know at least to the early 3.x versions. Randy
-----Original Message----- From: listbounce@securityfocus.com [mailto:listbounce@securityfocus.com] On Behalf Of James Stickland Sent: Friday, October 27, 2006 8:44 PM To: secureshell@securityfocus.com Subject: Who to run sshd as Hello, im running openssh 4.4p1 for Linux I setuid the sshd binary to execute as a normal user "joe" but that user does not have permission to bind the socket. How can i have my sshd run as non-root, yet still bind the socket?
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Who to run sshd as, Yiannis Kontekakis |
|---|---|
| Next by Date: | Re: Who to run sshd as, Asif Iqbal |
| Previous by Thread: | Re: Who to run sshd as, Michael Ekstrand |
| Next by Thread: | Openssh + Solaris 9 and authentication, Gladstone, Gary |
| Indexes: | [Date] [Thread] [Top] [All Lists] |