Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 20:07:31 -0500
From:      Matthew Graybosch <matthew@starbreaker.net>
To:        jaime@snowmoon.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Writable directory except for a given user
Message-ID:  <200111192005.49480@starbreaker.net>
In-Reply-To: <20011119194626.K48577-100000@malkav.snowmoon.com>
References:  <20011119194626.K48577-100000@malkav.snowmoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 19 November 2001 19:51, you wrote:
> On Mon, 19 Nov 2001, Mike Meyer wrote:
> > Sure - create a group that you put all users in by default, and
> > then take blacklisted users out of it.
>
> 	I'm aware of this idea, but in my case we're talking about
> hundreds of users.  Is there a way to configure adduser (or
> FreeBSD itself) to add a user to a given group by default?  Other
> than the obvious /etc/adduser.* files, I mean.  :)  What about a
> method of doing this and taking care of all of my hundreds of
> users that already exist?

What about just creating a group called "lusers" and putting the 
blacklisted users there? Sort of an opposite of the "wheel" group. 
Then change the permissions so that members of group "lusers" can't 
touch files they shouldn't.
- -- 
Matthew Graybosch
http://www.starbreaker.net
GnuPG Key ID: 0x7D488659
"Sex, Unix, and rock 'n roll"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7+azTcCiK1X1IhlkRAgUvAKDnut/F4XchXyRTfj/OQuzIYKsmAgCgxukJ
+VHZOQZ2BAm6lGECT6Pg2TM=
=Z1w6
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111192005.49480>