>>>Create a nologin shell, and set the users shell to that.
>>>If you are talking about users over NIS, create a specific group all those
>>>users belong to, and give that group a nologin shell.
>>I am talking about users over NIS. How can i define a shell for group?
>>Do you mean Unix-group (/etc/group) or netgroup (NIS)?
> First off, I want to say that I've never done this on Solaris, but you
> could try:
> Create a netgroup containing those that SHOULD NOT have access. Then
> add to /etc/passwd:
> where /usr/local/bin/noaccess is your nologin-shell, with an optional
> "you do not have access here" message.
Wouldn't the ANSI way be to set the shell to /bin/false?
Quote:> From what I've googled up right now, it seems to be the way to do it
> under solaris too. :)
--
Regards,
N
-----------------------------------
Nicholas Bachmann
http://hermie.freeshell.org
"To Boldly Go Where Angels Fear To Tread"
-From the Infocom Game "Stationfall"
-----------------------------------