Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* NIS and passwd access restriction
@ 2001-07-30 10:11 Jerome Bellet
  2001-07-31 17:28 ` Ann Majeske
  2001-08-02 10:23 ` Jack Patteeuw
  0 siblings, 2 replies; 5+ messages in thread
From: Jerome Bellet @ 2001-07-30 10:11 UTC (permalink / raw)


I have an NIS server and several clients sharing the same domain.
On a few clients I'd like to forbid access to some users (whose entries are
in the passwd map).

Unfortunately NIS does not support herarchical domains (contrary to NIS+).

Does anybody have any suggestion ?

TIA, Jerome




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS and passwd access restriction
  2001-07-30 10:11 NIS and passwd access restriction Jerome Bellet
@ 2001-07-31 17:28 ` Ann Majeske
  2001-08-01 10:33   ` Jeff Wilson
  2001-08-02 10:23 ` Jack Patteeuw
  1 sibling, 1 reply; 5+ messages in thread
From: Ann Majeske @ 2001-07-31 17:28 UTC (permalink / raw)


Jerome Bellet wrote:
> 
> I have an NIS server and several clients sharing the same domain.
> On a few clients I'd like to forbid access to some users (whose entries are
> in the passwd map).
> 
> Unfortunately NIS does not support herarchical domains (contrary to NIS+).
> 
> Does anybody have any suggestion ?
> 
> TIA, Jerome

In the local /etc/passwd file put an entry
-username
to restrict that user from logging in to the
local system.  This is documented in the
Security guide.  I found it in the V4.0
Security guide in 
"Table 9-1: NIS passwd File Overrides"
This moved around in subsequent versions
of the Security guide, but it's still there

Ann


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS and passwd access restriction
  2001-07-31 17:28 ` Ann Majeske
@ 2001-08-01 10:33   ` Jeff Wilson
  0 siblings, 0 replies; 5+ messages in thread
From: Jeff Wilson @ 2001-08-01 10:33 UTC (permalink / raw)


You can make the response a little more user friendly, with the positive
method and a message file. In the /etc/passwd file add a line for each user
allowed logon access, "+username:", and add a line like
"+::::::/usr/local/etc/message" pointing to a text file which just echos a
nice message.

--
                Jeff Wilson

"Ann Majeske" <Ann.Majeske@Compaq.com> wrote in message
news:3B66EAA0.26EDFD77@Compaq.com...
| Jerome Bellet wrote:
| >
| > I have an NIS server and several clients sharing the same domain.
| > On a few clients I'd like to forbid access to some users (whose entries
are
| > in the passwd map).
| >
| > Unfortunately NIS does not support herarchical domains (contrary to
NIS+).
| >
| > Does anybody have any suggestion ?
| >
| > TIA, Jerome
|
| In the local /etc/passwd file put an entry
| -username
| to restrict that user from logging in to the
| local system.  This is documented in the
| Security guide.  I found it in the V4.0
| Security guide in
| "Table 9-1: NIS passwd File Overrides"
| This moved around in subsequent versions
| of the Security guide, but it's still there
|
| Ann




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS and passwd access restriction
  2001-07-30 10:11 NIS and passwd access restriction Jerome Bellet
  2001-07-31 17:28 ` Ann Majeske
@ 2001-08-02 10:23 ` Jack Patteeuw
  2001-08-09 12:50   ` Jerome Bellet
  1 sibling, 1 reply; 5+ messages in thread
From: Jack Patteeuw @ 2001-08-02 10:23 UTC (permalink / raw)




Jerome Bellet wrote:
> 
> Unfortunately NIS does not support herarchical domains (contrary to NIS+).


... and NIS+ is dead.  Not even shipped with Solaris 8 anymore.

Jack Patteeuw


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NIS and passwd access restriction
  2001-08-02 10:23 ` Jack Patteeuw
@ 2001-08-09 12:50   ` Jerome Bellet
  0 siblings, 0 replies; 5+ messages in thread
From: Jerome Bellet @ 2001-08-09 12:50 UTC (permalink / raw)


Thanks for the tips.
Unfortunately +username and -username do not seem to work with all OS.
I've tried with Solaris 8 ... I had to lock the accounts to simulate
-username in the passwd file.

Regards, Jerome


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-09 12:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-30 10:11 NIS and passwd access restriction Jerome Bellet
2001-07-31 17:28 ` Ann Majeske
2001-08-01 10:33   ` Jeff Wilson
2001-08-02 10:23 ` Jack Patteeuw
2001-08-09 12:50   ` Jerome Bellet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox