Re: Linux chroot
- From: Tim Greer <tim@xxxxxxxxxxxxx>
- Date: Mon, 05 Jan 2009 10:21:13 -0800
scott.seiler@xxxxxxxxx wrote:
Hi,
Due to organizational restrictions, we are forced to use an
implementation of OpenSSH that does not allow for it to be run in a
chroot jail natively. I have run ldd against all the necessary
programs, but cannot seem to get the jail setup properly. When I try
to run sshd, I get the following error:
Privilege separation user sshd does not exist
The /etc/passwd and /etc/shadow files both contain this user.
To troubleshoot this, I copied su into the environment and receive
this error when I try to su to root (as root):
su: user root does not exist
The permissions on the /etc/passwd file are set to 644 and /etc/shadow
is set to 400.
I don't understand why these files are not being processed. Any help
would be greatly appreciated.
Scott
Can you provide information on exactly how you set it up and configured
it? I ask because there are a lot of tutorials on how to do this, and
some are not accurate. Depending on what one you've followed or how
you've attempted to do this, it might not be a solution of configuring
it differently or an additional step only, but maybe you'll need to
revert (undo) a few things and go back before you can go forward.
Also, are you sure you want to be able to su to root in a jailed
environment?
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
.
- Follow-Ups:
- Re: Linux chroot
- From: Nico Kadel-Garcia
- Re: Linux chroot
- References:
- Linux chroot
- From: scott . seiler
- Linux chroot
- Prev by Date: Re: Linux chroot
- Next by Date: Re: Linux chroot
- Previous by thread: Re: Linux chroot
- Next by thread: Re: Linux chroot
- Index(es):
Relevant Pages
|