passwd sync

Bob Dusek bobd at saintjoe.edu
Thu Jan 18 14:59:29 GMT 2001


You can setup a separate config file for the user 'nobody' and take the
passwd sync stuff out of it...

; if there is a conf file for the user who is connecting, then
; load it...  
   
    config file = /usr/local/samba/lib/smb.conf.%U

This is what we do when we disable a user's email (IMAP) account by
putting a * in the passwd file for him/her.... We want them to still be
able to use network resources, we just want to shut off email access for
them.  So, we have to prevent them from changing their password and
overwriting the * in the passwd file.  It has worked well for us.  

Bob

Marcel Kunath wrote:
> 
> I was just figuring that. Which brought up another question.
> 
> I use a guest user 'nobody' for some win machines to connect to a directory. If
> I put this passwd sync stuff into global will people be able to change nobody's
> passwd?
> 
> I have it set to NOPassword and like it to remain that way. I want anybody to
> change the passwd except nobody user.
> 
> mk
> 
> > > We use a "passwd chat" parameter, as
> well... > > passwd chat = *ew\spassword* %n\n *enter* %n\n *assword\schanged*
> >
> > Marcel Kunath wrote:
> > >
> > > I use Linux server with /etc/passwd and /etc/smbpasswd and win98 clients. I
> > > want to change all three passwords at the same time but it doesn't work as I
> 
> > > got it set up in global:
> > >
> > > [global]
> > >     {big cut}
> > >         unix password sync = yes
> > >         passwd program = /usr/bin/passwd %u
> > >     {more cut}
> > >
> > > Shouldn't these two entries do it? I change password on win machine but it o
> nly
> > > gets changed there.
> > >
> > > Help appreciated,
> > >
> > >   -- Marcel Kunath
> > >
> > > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> > >
> > >  Montie House Network            Greater Lansing Linux Users Group
> > >   http://www.montiehouse.com      http://www.gllug.org
> > >
> > > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> >
> > --
> >
> > Saint Joseph's College --  bobd at saintjoe.edu | http://www.saintjoe.edu
> > -----------------------------------------------------------------------
> > Administrative Computing Center, Bob Dusek...  219-866-6371
> >
> > Think lucky. If you fall in a pond, check your pockets for fish.
> >
> >         -- Darrell Royal
> >
> >
> 
> --
> Marcel Kunath
> 
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> 
>  Montie House Network            Greater Lansing Linux Users Group
>   http://www.montiehouse.com      http://www.gllug.org
> 
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

--

Saint Joseph's College --  bobd at saintjoe.edu | http://www.saintjoe.edu
-----------------------------------------------------------------------
Administrative Computing Center, Bob Dusek...  219-866-6371

Think lucky. If you fall in a pond, check your pockets for fish.

		-- Darrell Royal




More information about the samba mailing list