Re: cannot change NIS user password as root

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

 



On Mon, Feb 16, 2004 at 03:13:50AM -0800, Sandeep Agarwal wrote:
> no # yppasswd sandeep works perfectly but it asks for
> the root password before changing the passwords, why
> it should ask for that? 

The NIS server needs to know that the request is a valid one.  If it
just takes your word for it that you are root, that would be bad.  The
reason that root doesn't need to give a passwd when changing a passwd on
the local machine is that root priviledges cannot, in theory, be faked
with the local kernel.  There is no such assurance for the kernel on a
remote host, not without some kind of host authentication, which NIS
does not have.

-- 
Ed Schmollinger - schmolli@xxxxxxxxxxxxxx

Attachment: pgp00137.pgp
Description: PGP signature


[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux