Re: NIS users + local groups

Dzmitry Zhemchuhou <[email protected]>
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
--- Chris de Vidal <[email protected]> wrote:
> Dzmitry Zhemchuhou said:
> >   I ran into a problem with 'usermod' utility. For
> > some reason it checks that the user record must be
> in
> > /etc/passwd even when I change the list of
> secondary
> > groups for the user.
> 
> I noticed that too (I'm a sysadmin, not a shadow
> programmer).  I'm using
> Samba's Winbind, not NIS, but it's functionally the
> same to the server.
> 
> I used gpasswd -a user group to get around this
> limitation and it works
> like a champ.
> 
> /dev/idal

   In my case it is a third-party application that
relies on usermod utility to manage groups and users,
so I really need usermod to do its job. I will ask the
vendor to switch to gpasswd, but I think that it makes
sense to report the problem here also.

   If it cannot be fixed I would prefer usermod's -G
option to go away completely because in addition to
the NIS problem it also requires sysadmin to specify a
full list of groups in which user participates.

Thanks,
Dzmitry



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.