1 |
On Fri, 2004-06-18 at 15:08, Jason Qualkenbush wrote: |
2 |
> I'll get right into my problem. I have an internal web server that I |
3 |
> don't want anyone but me to log into. However, this webserver needs to |
4 |
> use NIS/NFS so it can automount users home directories for public_html. |
5 |
> I tried to restrict people from logging in using these lines in passwd: |
6 |
> |
7 |
> +myusername:::::: |
8 |
> +:!!:+:+:+:+:/bin/false |
9 |
|
10 |
Not sure off hand where you are trying to place that. In /etc/passwd or |
11 |
a nis config file? |
12 |
|
13 |
Do you want to restrict people from just that machine or logging into |
14 |
any machine using NIS/NFS? |
15 |
|
16 |
One way would be with hosts.allow hosts.deny. You can control access to |
17 |
that machine only that way. Deny all users but yourself. Many ways to go |
18 |
about it. |
19 |
|
20 |
Restricting them from logging in period is even easier. That you do on |
21 |
the NIS server. |
22 |
|
23 |
-- |
24 |
Sincerely, |
25 |
William L. Thomson Jr. |
26 |
Support Group |
27 |
Obsidian-Studios, Inc. |
28 |
http://www.obsidian-studios.com |