Shadow and NIS

From: Hal Vaughan (hal_at_thresholddigital.com)
Date: 02/28/05

  • Next message: Kevin Coyner: "backup web server"
    To: debian-user@lists.debian.org
    Date: Mon, 28 Feb 2005 11:50:03 -0500
    
    

    I've installed NIS and it is working, but I'm having a problem with the shadow
    file. (I'm using MEPIS systems for the server and the client I'm testing.)

    The default config on my system is using /etc/shadow, so I specified to
    include shadow in /var/yp/Makfile, but my client system is still not getting
    passwords (I can't ypcat shadow and when I try to login as a user from the
    server, I get an "Authentication service cannot retrieve authentication
    info." error message). I did "ps -ax" and found this line:

    /usr/sbin/rpc.yppasswdd -D /etc -e chsh

    But in a howto (http://www.tldp.org/HOWTO/NIS-HOWTO/ypserv.html), it says to
    start rpc.yppasswdd with:

    rpc.yppasswdd -s /etc/yp/shadow -p /etc/yp/passwd -e chsh

    So here's my main concern: If I change the line in /etc/init.d/nis from the
    first line listed to the 2nd line, will it get clobbered at some point during
    a system update from apt-get?

    Is this the best way to fix this, or is there some better way to either merge
    the passwd and shadow file (I've heard it might not be a good idea to use
    shadow passwords for NIS)? And why is it that when I have this line in the
    Makefile:

    ALL = passwd shadow group hosts rpc services netid protocols netgrp

    (also, later is the line "ALL += shadow")

    the shadow file is not passed on? (I also tried it first without "shadow" in
    the first line.)

    Thanks for any help on this.

    Hal

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Kevin Coyner: "backup web server"

    Relevant Pages

    • Shadow Copy Doesnt seem to do much
      ... I set up my clients on the new server ... I installed the shadow copy client on one of the workstations. ... I copied a file off the server to the temp directory on the client ...
      (microsoft.public.windows.server.setup)
    • RDP Shadow Mode: How to pass CTRL+ALT+DEL to remote?
      ... I have set up RDP shadow mode on a remote Win Server 2003 server per the ... then shadow the console session fine from my Win XP network client. ...
      (microsoft.public.windows.server.networking)
    • Re: Event 1000 Windows SharePoint Services 2.0 Error
      ... And these patches don't barf on everyone, so this isn't widespread. ... Volume Shadow Copy for D ... I'm using Small Business Server 2003. ... "Cannot connect to the configuration database." ...
      (microsoft.public.windows.server.sbs)
    • RE: Server Crashing with VSS Backup
      ... Your SBS server crash intermittently with event ID 2004 and you believe it ... is due to Volume Shadow Copy backup. ... Availability of a Volume Shadow Copy Service update rollup package ... Microsoft CSS Online Newsgroup Support ...
      (microsoft.public.windows.server.sbs)
    • RE: Shadow Copies - Shared Folder from 2000 Server
      ... Windows Server 2003. ... Before a client computer can access shadow copies, ... Accessing Shadow Copies on Windows Server 2003 ...
      (microsoft.public.windows.server.general)