* 5.0A NIS Enhanced Security - Change Password?
@ 2002-11-01 15:42 Simon Brown
2002-11-01 18:18 ` Ann Majeske
0 siblings, 1 reply; 6+ messages in thread
From: Simon Brown @ 2002-11-01 15:42 UTC (permalink / raw)
Hi,
I found nothing with google, so here goes:
What is the correct shell command to change a NIS account's password on a
Tru64 5.0A NIS Master with Enhanced security? The user does *not* have a
/etc/passwd entry, only a NIS entry.
I've tried passwd as per the man pages but it moans "unknown user", the user
does exist and is 100% OK when attacked with sysman :-)
--
Simon Brown, CH-7031 Laax, Switzerland
www.hb9drv.ch
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 5.0A NIS Enhanced Security - Change Password?
2002-11-01 15:42 5.0A NIS Enhanced Security - Change Password? Simon Brown
@ 2002-11-01 18:18 ` Ann Majeske
2002-11-01 18:26 ` Simon Brown
0 siblings, 1 reply; 6+ messages in thread
From: Ann Majeske @ 2002-11-01 18:18 UTC (permalink / raw)
Simon Brown wrote:
>
> Hi,
>
> I found nothing with google, so here goes:
>
> What is the correct shell command to change a NIS account's password on a
> Tru64 5.0A NIS Master with Enhanced security? The user does *not* have a
> /etc/passwd entry, only a NIS entry.
>
> I've tried passwd as per the man pages but it moans "unknown user", the user
> does exist and is 100% OK when attacked with sysman :-)
>
> --
> Simon Brown, CH-7031 Laax, Switzerland
> www.hb9drv.ch
passwd is the correct command to change the user's password
with Enhanced Security enabled. The first thing I'd check is
to make sure you have :+ at the end of the /etc/passwd file
and both auth=local,yp and passwd=local,yp in the
/etc/svc.conf file. Also, you might want to make sure that
you're properly distributing the prpasswd map.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 5.0A NIS Enhanced Security - Change Password?
2002-11-01 18:18 ` Ann Majeske
@ 2002-11-01 18:26 ` Simon Brown
2002-11-01 21:11 ` Ann Majeske
0 siblings, 1 reply; 6+ messages in thread
From: Simon Brown @ 2002-11-01 18:26 UTC (permalink / raw)
Hi Ann,
I created this test NIS environment by copying passwd and group to (if I
remember) /var/yp/src, then I used sysman's option to create the NIS
environment. It seems to work OK in as much as the slave gets the NIS
accounts correctly.
I'm still stumped, but we'll see how the software works on the customer
site.
--
Simon Brown, CH-7031 Laax, Switzerland
www.hb9drv.ch
"Ann Majeske" <Ann.Majeske@hp.com> wrote in message
news:3DC2C564.B16E24A9@hp.com...
> Simon Brown wrote:
> >
> > Hi,
> >
> > I found nothing with google, so here goes:
> >
> > What is the correct shell command to change a NIS account's password on
a
> > Tru64 5.0A NIS Master with Enhanced security? The user does *not* have a
> > /etc/passwd entry, only a NIS entry.
> >
> > I've tried passwd as per the man pages but it moans "unknown user", the
user
> > does exist and is 100% OK when attacked with sysman :-)
> >
> > --
> > Simon Brown, CH-7031 Laax, Switzerland
> > www.hb9drv.ch
>
> passwd is the correct command to change the user's password
> with Enhanced Security enabled. The first thing I'd check is
> to make sure you have :+ at the end of the /etc/passwd file
> and both auth=local,yp and passwd=local,yp in the
> /etc/svc.conf file. Also, you might want to make sure that
> you're properly distributing the prpasswd map.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 5.0A NIS Enhanced Security - Change Password?
2002-11-01 18:26 ` Simon Brown
@ 2002-11-01 21:11 ` Ann Majeske
2002-11-01 21:34 ` Simon Brown
2002-11-02 11:12 ` Simon Brown
0 siblings, 2 replies; 6+ messages in thread
From: Ann Majeske @ 2002-11-01 21:11 UTC (permalink / raw)
With Enhanced Security you have to distribute the prpasswd map as well
as the passwd and group maps. There should be information in the
Security
manual on how to set this up.
Ann
Simon Brown wrote:
>
> Hi Ann,
>
> I created this test NIS environment by copying passwd and group to (if I
> remember) /var/yp/src, then I used sysman's option to create the NIS
> environment. It seems to work OK in as much as the slave gets the NIS
> accounts correctly.
>
> I'm still stumped, but we'll see how the software works on the customer
> site.
>
> --
> Simon Brown, CH-7031 Laax, Switzerland
> www.hb9drv.ch
>
> "Ann Majeske" <Ann.Majeske@hp.com> wrote in message
> news:3DC2C564.B16E24A9@hp.com...
> > Simon Brown wrote:
> > >
> > > Hi,
> > >
> > > I found nothing with google, so here goes:
> > >
> > > What is the correct shell command to change a NIS account's password on
> a
> > > Tru64 5.0A NIS Master with Enhanced security? The user does *not* have a
> > > /etc/passwd entry, only a NIS entry.
> > >
> > > I've tried passwd as per the man pages but it moans "unknown user", the
> user
> > > does exist and is 100% OK when attacked with sysman :-)
> > >
> > > --
> > > Simon Brown, CH-7031 Laax, Switzerland
> > > www.hb9drv.ch
> >
> > passwd is the correct command to change the user's password
> > with Enhanced Security enabled. The first thing I'd check is
> > to make sure you have :+ at the end of the /etc/passwd file
> > and both auth=local,yp and passwd=local,yp in the
> > /etc/svc.conf file. Also, you might want to make sure that
> > you're properly distributing the prpasswd map.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 5.0A NIS Enhanced Security - Change Password?
2002-11-01 21:11 ` Ann Majeske
@ 2002-11-01 21:34 ` Simon Brown
2002-11-02 11:12 ` Simon Brown
1 sibling, 0 replies; 6+ messages in thread
From: Simon Brown @ 2002-11-01 21:34 UTC (permalink / raw)
Hi,
That's my problem, thanks for finding it for me.
--
Simon Brown, CH-7031 Laax, Switzerland
www.hb9drv.ch
"Ann Majeske" <Ann.Majeske@hp.com> wrote in message
news:3DC2EDCF.7D3B5F48@hp.com...
> With Enhanced Security you have to distribute the prpasswd map as well
> as the passwd and group maps. There should be information in the
> Security
> manual on how to set this up.
>
> Ann
>
> Simon Brown wrote:
> >
> > Hi Ann,
> >
> > I created this test NIS environment by copying passwd and group to (if I
> > remember) /var/yp/src, then I used sysman's option to create the NIS
> > environment. It seems to work OK in as much as the slave gets the NIS
> > accounts correctly.
> >
> > I'm still stumped, but we'll see how the software works on the customer
> > site.
> >
> > --
> > Simon Brown, CH-7031 Laax, Switzerland
> > www.hb9drv.ch
> >
> > "Ann Majeske" <Ann.Majeske@hp.com> wrote in message
> > news:3DC2C564.B16E24A9@hp.com...
> > > Simon Brown wrote:
> > > >
> > > > Hi,
> > > >
> > > > I found nothing with google, so here goes:
> > > >
> > > > What is the correct shell command to change a NIS account's password
on
> > a
> > > > Tru64 5.0A NIS Master with Enhanced security? The user does *not*
have a
> > > > /etc/passwd entry, only a NIS entry.
> > > >
> > > > I've tried passwd as per the man pages but it moans "unknown user",
the
> > user
> > > > does exist and is 100% OK when attacked with sysman :-)
> > > >
> > > > --
> > > > Simon Brown, CH-7031 Laax, Switzerland
> > > > www.hb9drv.ch
> > >
> > > passwd is the correct command to change the user's password
> > > with Enhanced Security enabled. The first thing I'd check is
> > > to make sure you have :+ at the end of the /etc/passwd file
> > > and both auth=local,yp and passwd=local,yp in the
> > > /etc/svc.conf file. Also, you might want to make sure that
> > > you're properly distributing the prpasswd map.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 5.0A NIS Enhanced Security - Change Password?
2002-11-01 21:11 ` Ann Majeske
2002-11-01 21:34 ` Simon Brown
@ 2002-11-02 11:12 ` Simon Brown
1 sibling, 0 replies; 6+ messages in thread
From: Simon Brown @ 2002-11-02 11:12 UTC (permalink / raw)
Hi Ann,
As it turned out my simplistic trust in 5.0A was a little (only a little)
misplaced. I think I did everything correctly:
[1] Copy group and passwd into /var/yp/src.
[2] Use the sysman > Networks > NIS option to set NIS running in enhanced
mode. This created /var/yp/src/prpasswd.
However it would appear that by adding auth=local,yp into svc.conf I can now
set NIS account passwords using passwd. Certainly what didn't work before
now works. This entry wasn't made for me by sysman.
I'm using 5.0A because I was given a heap of DEC 3000 workstations which I
use for testing - I like these old boxes a lot, and was cursing like hell
when 5.1A told me my hardware was no longer supported :-(
A big thanks to all on this list, may you live for ever.
--
Simon Brown, CH-7031 Laax, Switzerland
www.hb9drv.ch
"Ann Majeske" <Ann.Majeske@hp.com> wrote in message
news:3DC2EDCF.7D3B5F48@hp.com...
> With Enhanced Security you have to distribute the prpasswd map as well
> as the passwd and group maps. There should be information in the
> Security
> manual on how to set this up.
>
> Ann
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-11-02 11:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-01 15:42 5.0A NIS Enhanced Security - Change Password? Simon Brown
2002-11-01 18:18 ` Ann Majeske
2002-11-01 18:26 ` Simon Brown
2002-11-01 21:11 ` Ann Majeske
2002-11-01 21:34 ` Simon Brown
2002-11-02 11:12 ` Simon Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox