Re: How to setup an read-only user account for a whole server with useradd ?
- From: "s. keeling" <keeling@xxxxxxxxxxx>
- Date: Thu, 20 Sep 2007 02:16:29 +0200 (CEST)
Carsten Eishold <bumpy@xxxxxxxx>:
I want to setup an user SSH/telnet account with useradd. The user should have
- read-only permissions for ALL files on the server beginning with the root directory.
- write permission for recursively all files below the directory /user/home/newuser
How do I setup the account and the permissions correctly ?
That sounds like almost the default behaviour. Default install makes
lots of things executable by default, but trying to do root-ish things
results in failure because the things they try to do are not allowed
by permissions set on whatever they're trying to do it to. As a user,
I can /sbin/ifconfig, but try changing the routing table. You don't
have permissions for that.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
.
- Follow-Ups:
- Prev by Date: Re: How to setup an read-only user account for a whole server with useradd ?
- Next by Date: Re: How to setup an read-only user account for a whole server with useradd ?
- Previous by thread: Re: How to setup an read-only user account for a whole server with useradd ?
- Next by thread: Re: How to setup an read-only user account for a whole server with useradd ?
- Index(es):
Relevant Pages
|