Re: hiding system directories
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: 12 Jan 2007 21:15:46 GMT
"Nico" <nkadel@xxxxxxxxx> writes:
nospam wrote:
jarqs schreef:
What do you mean by "access"?
i mean that common user (group "users" exactly) shouldnt read configuration
of my server.
What do you mean by "system directories"?
well i hope that /etc (and /var maybe) should be enough.
You will find that they are already prevented from modifying any system
files. You will also find that quite a few thing will break if users
*don't* have read access to at least /etc /bin & /usr/bin
sure i realize that, but i hope there is a way to hide it for user's eye and
No. read permission which is needed for loads of programs to work, means
read in all ways, including displaying on the screen.
not to break the system, isn't it?file permission should enough to make sure that your user cannot break
your system or use acl
Sigh. This is an old, old desire by a lot of SSH admins, to basically
do what modern FTP and HTTP servers and restrict all access to the user
directory only.
The only way to do it vaguely properly with SSH is to build chroot
cages. There are several such projects at sourceforge.net, but it's
clear that OpenSSH is not going to have this feature, despite the
numerous attempts to incorporate it including some by me There may be
sound technical reasons for it, but the main reason seems to be
epitomized by the attitude that nospam voices.
a chroot jail means that ALL programs, libraries, etc, MUST be contained
within that jail. Ie you need to have a separate copy of /usr/bin,
/usr/lib, /etc,.... withing that jail for each user. This is a HUGE
duplication of resources. It is possible, but silly.
In security terms, it's extremely useful to keep users out of system
log files that are otherwise readable, /boot and /lib/modules and /proc
where kernel information resides under Linux, the C: drive under
Windows using Cygwin, /etc/passwd to look up likely user names to run
probes against, etc., etc.
No. It is relatively useless against a determined attacker.
Another approach I'm getting fond of is using Xen to create guest
domains, but that's a bit more work than using something like WebDAV
over HTTPS to provide read/write access to a secured directory and not
providing any shell.
Fine , if that is all they need.
.
- Follow-Ups:
- Re: hiding system directories
- From: jarqs
- Re: hiding system directories
- References:
- hiding system directories
- From: jarqs
- Re: hiding system directories
- From: Paul Colquhoun
- Re: hiding system directories
- From: jarqs
- Re: hiding system directories
- From: nospam
- Re: hiding system directories
- From: Nico
- hiding system directories
- Prev by Date: Re: hiding system directories
- Next by Date: ..
- Previous by thread: Re: hiding system directories
- Next by thread: Re: hiding system directories
- Index(es):
Relevant Pages
|
|