Poor diagnostic when run by a non privileged user
Bug #401627 reported by
grofaty
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Terminal |
Invalid
|
Undecided
|
Unassigned | ||
shadow (Debian) |
Fix Released
|
Unknown
|
|||
shadow (Ubuntu) |
Triaged
|
Low
|
Unassigned |
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'".
affects: | ubuntu → shadow (Ubuntu) |
Changed in shadow (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
summary: |
- userdel command show "unable to lock file" + Poor diagnostic when run by a non privileged user |
Changed in shadow (Debian): | |
status: | Unknown → New |
Changed in shadow (Debian): | |
status: | New → Fix Committed |
Changed in shadow (Debian): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you for bringing this bug to our attention. However, a paper cut should be a small usability issue, in the default Ubuntu install, that affects many people and is quick and easy to fix. So this bug can't be addressed as part of this project.
- we do not expect average users to use the terminal , Hence not a papercut. /wiki.ubuntu. com/PaperCut.
For further information about papercuts criteria, please read https:/
Don't worry though, this bug has been marked as "Invalid" only in the papercuts project.