Limiting a program's use to a specified group of users

Dave Richardson dsrich01 at b.ee.engr.uky.edu
Sat Dec 15 02:13:29 AEST 1990


In article <1990Dec12.143540.13834 at IRO.UMontreal.CA> quennevi at IRO.UMontreal.CA (Charles Quenneville) writes:
>Hello!
>
>I would like to implement a password security in a program. For
>example, I want to put in a public directory a program for just
[remainder of question deleted]

Why not add the needed users to a new group in the /etc/group file, and
then when a (authorized) user wants/needs to run the program, they can
just "newgrp usersgroup" to run it.  Disclaimer - This is a SysV trick -
I don't know about Berzerkley and relatives.

Later,

					Dave
--
Dave Richardson	            \ UUCP: !{rutgers, rayssd, uunet}!ukma!ukecc!dsrich
  University of Kentucky      \ BITNET: dsrich%engr.uky.edu at UKMA.BITNET
  Engineering Computing Center  \ ARPANET: dsrich at engr.uky.edu 
  I don't speak for my employers and they don't speak for me.



More information about the Comp.unix.programmer mailing list