[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: limiting NIS access



In article <cistron.19990908043113.A19181@dynax.anu.edu.au>,
Chanop Silpa-Anan  <chanop.silpa-anan@syseng.anu.edu.au> wrote:
>Is there a method in limiting NIS access. Now every user who has account on
>Sun machine can log on to debian box with homedir=/ 

Don't put +::::::: in /etc/passwd, but list users individually:

+miquels:::::::
+chanop:::::::

Now only `miquels' and `chanop' exist on the box. You can even do:

+miquels:::::::
+chanop:::::::
+:*::::::

Now all users exist, but only `miquels' and `chanop' have a valid password
and can log in. Read /usr/doc/nis/nis.debian.howto.gz for more info.

Mike.
-- 
... somehow I have a feeling the hurting hasn't even begun yet
	-- Bill, "The Terrible Thunderlizards"


Reply to: