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-23 15:58:54 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail Message-ID: <3BAE6976.D4738F4C@advalvas.be> From: Emma X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: restricting certain users from loggin in References: <3bc0730e.0109210728.63f7422c@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 23 Sep 2001 22:58:51 GMT NNTP-Posting-Host: 213.224.76.242 X-Complaints-To: abuse@pandora.be X-Trace: afrodite.telenet-ops.be 1001285931 213.224.76.242 (Mon, 24 Sep 2001 00:58:51 MET DST) NNTP-Posting-Date: Mon, 24 Sep 2001 00:58:51 MET DST Organization: Telenet Internet Xref: archiver1.google.com comp.unix.tru64:5002 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