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-21 13:57:26 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: utlonghornsrule@yahoo.com (Newbie JrSysAdmin) Newsgroups: comp.unix.tru64 Subject: Re: restricting certain users from loggin in Date: 21 Sep 2001 13:57:26 -0700 Organization: http://groups.google.com/ Message-ID: <2de05464.0109211257.77fdf355@posting.google.com> References: <3bc0730e.0109210728.63f7422c@posting.google.com> NNTP-Posting-Host: 192.152.140.9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1001105846 22910 127.0.0.1 (21 Sep 2001 20:57:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Sep 2001 20:57:26 GMT Xref: archiver1.google.com comp.unix.tru64:4996 jlkromero@yahoo.com (Joshua Romero) wrote in message news:<3bc0730e.0109210728.63f7422c@posting.google.com>... > 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. i apologize, but i'm trying to figure out how silly this post is. why don't you simply remove invalid users from the system? (ie, delete their entries from /etc/passwd) if you want to "keep them around" but not permit logins for now, then change their attribute to "no password- setuid only"