[Bug 401627] Re: Poor diagnostic when run by a non privileged user
Bug Watch Updater
401627 at bugs.launchpad.net
Mon Feb 13 23:14:52 UTC 2012
** Changed in: shadow (Debian)
Status: Fix Committed => Fix Released
--
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 Released
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