[Bug 2039541] Re: groupmems prompts for password when run as sudo/root
Launchpad Bug Tracker
2039541 at bugs.launchpad.net
Tue Aug 27 21:41:21 UTC 2024
This bug was fixed in the package shadow - 1:4.15.3-3ubuntu2
---------------
shadow (1:4.15.3-3ubuntu2) oracular; urgency=medium
* d/p : disallow pure numeric user and group names (LP: #2076898)
-- Hector Cao <hector.cao at canonical.com> Tue, 13 Aug 2024 12:15:06
+0200
** Changed in: shadow (Ubuntu)
Status: New => 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/2039541
Title:
groupmems prompts for password when run as sudo/root
Status in shadow package in Ubuntu:
Fix Released
Status in shadow package in Debian:
Fix Released
Bug description:
When trying to clear users from a group using the groupmems command,
the user is always prompted for the root's password, even when running
as root or via sudo:
(as root)
# addgroup testgroup
# groupmems -g testgroup -p
Password:
(via sudo)
# sudo addgroup testgroup
# sudo groupmems -g testgroup -p
Password:
I'm not sure if this is desired behavior, but I would expect this
command to work without the root password.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/2039541/+subscriptions
More information about the foundations-bugs
mailing list