Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* The Groups Editor-- An ACL type Thinger
@ 1996-10-18  4:00 Gus Hurwitz
  0 siblings, 0 replies; only message in thread
From: Gus Hurwitz @ 1996-10-18  4:00 UTC (permalink / raw)



-----BEGIN PGP SIGNED MESSAGE-----

For those of us who are too impatient to wait for linux to support ACLs (Access
Control Lists), I have written a nifty little perl script:
                              "The Groups Editor"

This nifty little script gets installed somewhere on your system, suid-root, and
it lets users creat and maintain their own little access lists. Yes, now your 
users can actually select who gets to see their files! 

I wrote this thing in about 10 minutes, so I hope it doesn't have any big 
security holes... I spent a fair ammount of time trying to break it, and failed
miserably, which is probably a good thing.

It works like this: a user runs the program, and it asks for a group name. The
user enters a group name. If the group does not exist, it gets GID from the 
user, and asks for a password. It checks to make sure the GID is not already 
used, and then asks the user to enter all the users in the group. 

There are 2 versions: the yp version, and the non-yp version. 
The non-yp version is better: it verifies that the usernames entered actually
  exist.
The yp version DOES NOT update the master yp databases, rather, it keeps the 
  yp group entry ("+:::") at the end of /etc/group, and does not verify 
  usernames. I wrote this in 10 minutes, what, do you expect me to write a suid
  server to run on the yp master or something! :) (actually... that shouldn't be
  too hard... :) Also, since it does not update the master YP groups database, 
  all changes are machine specific, so if my programming messes up one machine,
  at least it won't take out the entire network :)

Oh, one other thing I should mention, right now it does not allow users to delete
groups they may have created. That will probably be in the next version, if there
is a next version that is. I may even add the ability to contact the yp master 
and update the master group database, too (haha).

The LSM entry follows:

Begin3
Title:          The Groups Editor
Version:        v.1.0
Entered-date:   10-14-96
Description:    A perl script to allow users to create their own groups,
		such that they can allow only a certain group of users access
		the their files. Kind of similar to ACLs, but a bit more
		kludgy :) Once a user creates a group, they can later edit
		the group too. 
Keywords:       Linux ACL group groups edit access control permissions
Author:         ghurwitz@dyndns.com (Justin (Gus) Hurwitz)
Maintained-by:  ghurwitz@dyndns.com (Justin (Gus) Hurwitz)
Primary-site:   ftp.dyndns.com /pub/linux/gedit
                        4998 gedit.pl
                        8731 gedit.yp.pl
Alternate-site: 
Original-site:  ftp.dyndns.com /pub/linux/gedit                      
                        4998 gedit.pl
                        8731 gedit.yp.pl
Platforms:      Anything with perl and /etc/group *SHOULD* work. Some 
		platforms may need some tweaking if their /etc/group
		format is different from linux's
Copying-policy: GPL sounds good to me. If ya use it, i don't mind getting
		email though :)
End

- --
Justin (Gus) Hurwitz
ghurwitz@bhurwitz.erols.com  --  ghurwitz@tjhsst.edu


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBMmdUL4QRll5MupLRAQFbKQP8C6IhEhzd3A59hqpJVBak5gqgxZ1H22Wz
ZH7K4OVi4LFGZ4+tHASP+faKHXq+sTDFOw5mwb9ukWWcYkum0x8MbZzrSPeTxf3q
+JjkqxiJFycmt90DirxVKblqnR1quB9DbM8JiKYysQzg0lRjpH1EjitassJu9Tql
bR7cu7g8S2g=
=vFvl
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/liw/linux/cola.html



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-10-18  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-18  4:00 The Groups Editor-- An ACL type Thinger Gus Hurwitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox