[Adduser-devel] Bug#344488: deluser: Strange "Can't
opendir(/proc/9908/task): No such file or directory" message
Kai Hendry
hendry at iki.fi
Fri Jan 13 03:15:36 UTC 2006
On 2005-12-23T08:52+0100 Marc Haber wrote:
> tags #344488 moreinfo
> thanks
>
> On Fri, Dec 23, 2005 at 12:13:13AM +0000, Kai Hendry wrote:
> > Package: deluser
> > Version: adduser
> > Severity: normal
>
> which version?
3.80
Something b0rked up with reportbug when I reported this. Sorry.
> > I discovered a user that shouldn't probably be on the system, so I
> > trying to nuke it:
> >
> > bible$ sudo deluser --remove-all-files tester
> > Looking for files to backup/remove...
> > Can't opendir(/proc/9908/task): No such file or directory
> > at /usr/sbin/deluser line 283
> > Removing files...
> > Removing user `tester'...
> > done.
>
> Can you still see how the /etc/passwd line of that user looked like,
> maybe from one of the numerous backups of /etc/passwd?
bible$ sudo egrep test /var/backups/passwd.bak
bible$
Hmmm, I should have done this sooner as I can't see backup with the user
tester in it.
I just tried a user 'test':
bible$ sudo adduser test
Adding user `test'...
Adding new group `test' (1006).
Adding new user `test' (1006) with group `test'.
Creating home directory `/home/test'.
Copying files from `/etc/skel'
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for test
Enter the new value, or press ENTER for the default
Full Name []: test
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
bible$ sudo deluser --remove-all-files test
Looking for files to backup/remove...
Can't opendir(/proc/9908/task): No such file or directory
at /usr/sbin/deluser line 283
Can't opendir(/proc/29082/task): No such file or directory
at /usr/sbin/deluser line 283
Removing files...
Removing user `test'...
done.
Best wishes,
More information about the Adduser-devel
mailing list