> > 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"
Sorry. I guess i did not make myself clear. I cannot delete users
because they still need access through a 3rd-party program (which by
the way uses the /etc/passwd to check access.) But I've figured it
out now. I modifyed the /etc/profile and now prevents non -privusr's
from loggin in to the terminal. But still lets them log in through
NT.