[Bug 401627] Re: Poor diagnostic when run by a non privileged user
Bug Watch Updater
401627 at bugs.launchpad.net
Wed Aug 10 14:35:55 UTC 2011
** Changed in: shadow (Debian)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/401627
Title:
Poor diagnostic when run by a non privileged user
Status in GNOME Terminal:
Invalid
Status in “shadow” package in Ubuntu:
Triaged
Status in “shadow” package in Debian:
Fix Committed
Bug description:
In Terminal executing command:
userdel -r user_name
Returns error:
userdel: unable to lock password file
This error is practically useless for non-geek user. The user does not have the privilege, so executing:
sudo userdel -r user_name
deletes the user.
I suggest to use more descriptive error message like: "User 'xxxxx'
does not have permissions to delete user 'yyyy'".
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-terminal/+bug/401627/+subscriptions
More information about the foundations-bugs
mailing list