Re: hiding system directories
- From: "Nico" <nkadel@xxxxxxxxx>
- Date: 12 Jan 2007 12:55:48 -0800
nospam wrote:
jarqs schreef:
file permission should enough to make sure that your user cannot breakWhat 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
not to break the system, isn't it?
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.
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.
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.
.
- Follow-Ups:
- Re: hiding system directories
- From: Unruh
- 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
- hiding system directories
- Prev by Date: Re: colocation security
- Next by Date: Re: hiding system directories
- Previous by thread: Re: hiding system directories
- Next by thread: Re: hiding system directories
- Index(es):
Relevant Pages
|