From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,978d89062033b684 X-Google-Attributes: gidfee84,public From: weber@bucknell.edu (Chris Weber) Subject: Re: Enhanced security and user{mod,del} Date: 1998/11/05 Message-ID: #1/1 X-Deja-AN: 408715640 Sender: weber@spinel.bucknell.edu References: Organization: Bucknell University Newsgroups: comp.unix.osf.osf1 In article , weber@bucknell.edu (Chris Weber) wrote: > There's a problem, though. Any authorization created *after* the >auto-migrate can't be modified by either usermod or userdel . Any >attempt to apply either of these applications to a post-4.0D authorization >results in the message: > > Specified user not found > [...] > Can anyone shed any light on this odd behavior? I'm perplexed. > > Thanks in advance for any help. Well, I stumbled upon the answer. It seems there was an empty line between two entries in /etc/passwd. Mkpasswd ignores the empty line when creating the /etc/passwd DBM files, but user{del,mod} apparently considers the empty line as EOF during its scan for the requested username. This sort of thing isn't particularly easy to find as there's no other indication anywhere that there's anything wrong. Sigh. -- Chris Weber Bucknell University Computer and Communication Services