Security Basics mailing list archives
Re: Running Sshd as non-root
From: Edward Rustin <ed () well com>
Date: Fri, 15 Aug 2003 09:25:30 -0700 (PDT)
off the top of my head I'd have to say that I don't think that you can do this. sshd needs to ensure that programs like (say) bash startup with the right permissions and pointing at the right home directory etc. and I can't see a way that this could be done with out sshd runing as root. my 1.25cents... Edward Rustin Director of Security, Online Guardians On Fri, 15 Aug 2003, Vineet Mehta wrote:
I was trying to make my sshd more secure by running it on non-root user. Can anyone help me out with it? Has anyone done that before? I tried putting sudo for "service" command, and even "chown user: /etc/init.d/sshd" but it is not doing it. Any help appretiated !!! Regards, -- Vineet Mehta Network Security Consultant Kuwait Linux Company Kuwait Ph-2412552/2463633 <vineet [at] linux [dot] com [dot] kw> www.linux.com.kw
--------------------------------------------------------------------------- ----------------------------------------------------------------------------
Current thread:
- Running Sshd as non-root Vineet Mehta (Aug 15)
- Re: Running Sshd as non-root Gabriel Orozco (Aug 15)
- Re: Running Sshd as non-root Arturo "Buanzo" Busleiman (Aug 15)
- Re: Running Sshd as non-root Edward Rustin (Aug 15)
- Re: Running Sshd as non-root Chris Ess (Aug 16)
- <Possible follow-ups>
- RE: Running Sshd as non-root Rubottom, Karl (Aug 16)