[MBT] new ticket for pkg shadow "userdel doesn't update db"

bugs at pld.org.pl bugs at pld.org.pl
Sat Jun 15 17:26:20 CEST 2002


Date: 2002-06-15 17:26:20+02	Author: Gall Anonim (anon) <bugs at pld.org.pl> 
Title:         userdel doesn't update db
Ticket ID:     #244
Ticket URL:    http://bugs.pld.org.pl/?bug=244
Package:       shadow-1:4.0.0-13
Distribution:  PLD-Ra.main
Category:      doesn't work as it should
Current state: opened
Text:

[root at wieszak root]# groupdel db2asgrp
groupdel: cannot remove user's primary group.
[root at wieszak root]# g db2asgrp /etc/passwd /etc/group
/etc/group:db2asgrp:x:103:
[root at wieszak root]# g 103 /etc/passwd /etc/group
/etc/group:db2asgrp:x:103:
[root at wieszak root]#

[root at wieszak misiek]# g db /etc/nsswitch.conf
passwd:         db # files
group:          db # files
shadow:         db # files
protocols:      db files
services:       db files
ethers:         db files
rpc:            db files
netgroup:       db files
[root at wieszak misiek]# update-db
[root at wieszak misiek]# groupdel db2asgrp
groupdel: cannot remove user's primary group.
[root at wieszak misiek]#

touching /etc/passwd and running update-db helps.



More information about the pld-bugs mailing list