From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d07209751011d1f4 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-24 08:53:58 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: jlkromero@yahoo.com (Joshua Romero) Newsgroups: comp.unix.tru64 Subject: Re: restricting certain users from loggin in Date: 24 Sep 2001 08:53:58 -0700 Organization: http://groups.google.com/ Message-ID: <3bc0730e.0109240753.1c881341@posting.google.com> References: <3bc0730e.0109210728.63f7422c@posting.google.com> <3BAE6976.D4738F4C@advalvas.be> NNTP-Posting-Host: 143.111.69.42 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1001346838 949 127.0.0.1 (24 Sep 2001 15:53:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Sep 2001 15:53:58 GMT Xref: archiver1.google.com comp.unix.tru64:5006 Emma wrote in message news:<3BAE6976.D4738F4C@advalvas.be>... > Joshua Romero wrote: > > > I need help writing a script to restrict user logins to specific > > userids. If anyone other than users in the group 'privusr' tries to > > login, they get a message saying "SORRY, You are not authorized to > > access this system... > > > > Any help would be greatly appreciated. > > You could modify /etc/profile, or /etc/csh.login to check for 'privusr' > membership (e.g. using the "groups" command). > > Emma Thanks Emma! That's exactly what I did. Fortunately I figured it out myself.