[Xorp-users] user group problem to run xorpsh

Pavlin Radoslavov pavlin@icir.org
Sun, 05 Dec 2004 22:20:43 -0800


> > Here is a guess about the problem: because your xorpuser belongs to
> > only one group ("xorp"), this has been recorded in the /etc/passwd
> > file so "id xorpuser" shows that xorpuser belongs to group
> > xorp. However, inside /etc/group there is no entry like
> > xorp:x:511:xorpuser
> > Apparently, the UserDB::add_user() implementation uses only
> > getgrnam() to load the user->group mapping (when it should consider
> > the /etc/passwd database as well). To verify that, could you use
> > "vigr" and add "xorpuser" to the xorp group/line.
> > E.g.: "xorp:x:511:xorpuser"
> > 
> > Please let me know the result.
> 
> Your observations were on target. The problem got solved after I added
> 'xorpuser' in the /etc/group file. Thanks for the support.

Actually, few days ago Mark committed a fix to the CVS repository
so with his fix you don't need to add such line to /etc/group (see
his follow-up emails on the subject).

Regards,
Pavlin