[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Configuring NIS on RedHat
- From: Alec Smith <alec shadowforum net>
- To: <redhat-list redhat com>
- Subject: Re: Configuring NIS on RedHat
- Date: Tue, 8 May 2001 12:16:11 -0400 (EDT)
What I meant is that all usernames are known to the system, but only the
user alec can login.
Perhaps I can explain what I'm trying to do a bit better. As I understand
Samba, it requires users be listed in its smbpasswd file, and also be
known to the system through /etc/passwd, NIS, etc.
I tried your suggestion in /etc/passwd and can still login as other
users... I know the trick you've posted works with Debian (which I've used
in the past).
Alec
On Tue, 8 May 2001, David Gee wrote:
> not sure if this is what you want (what do you mean by "account info is
> available"?), but this is how I limit access:
>
> +alec::::::
> #-::::::
>
> david
>
> ----- Original Message -----
> From: "Alec Smith" <alec shadowforum net>
> To: <redhat-list redhat com>
> Sent: Tuesday, May 08, 2001 11:41 AM
> Subject: Configuring NIS on RedHat
>
>
> > I've got assorted RedHat 6.x and 7.x machines configured as NIS clients
> > and a RH7.1 machine configured as a NIS server. How can I go about
> > limiting logins on several machines (file servers) such that only I
> > (user=alec) can login while other users' account info is available but
> > logins are not permitted?
> >
> > I'd tried something like
> >
> > +alec::::::
> > +:*:::::/etc/NoShell
> >
> > in /etc/passwd (where /etc/NoShell is a text file explaining why access is
> > denied), but have had no success.
> >
> > Thanks,
> > Alec
> >
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > Redhat-list redhat com
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> >
>
>
>
> _______________________________________________
> Redhat-list mailing list
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]