Your message dated Wed, 28 Oct 2026 18:39:42 +0000
with message-id <[email protected]>
and subject line Bug#1151889: Removed package(s) from unstable
has caused the Debian Bug report #742759,
regarding Consider removing "userhelper must be setuid root"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
742759: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742759
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: usermode
Version: 1.109-1
Severity: wishlist

I am using usermode to let LDAP users change their attributes
(password, shell, full name) from the GUI.
This doesn't require root privileges,
because the accounts aren't on the local machine at all:

    # chmod 755 /usr/bin/passwd
    # su - p -s /bin/sh -c 'exec passwd'
    (current) LDAP Password:
    New password:
    Retype new password:
    passwd: password updated successfully

I would like to remove userhelper's setuid bit,
but its source code explicitly checks for "am I root",
not "can I do what I was asked":

        if (geteuid() != 0) {
                fprintf(stderr, _("userhelper must be setuid root\n"));
                debug_msg("userhelper: not setuid\n");
                exit(ERR_NO_RIGHTS);
        }

I'm not sure how to test for "can I do what I was asked" -- I don't
think userhelper can know what will be needed without parsing the pam
configuration, which is a bit much to ask.

So instead, can you downgrade it from an error to a warning?
Something like this:

        if (geteuid() != 0) {
                fprintf(stderr, _("userhelper is not setuid root\n"));
                fprintf(stderr, _("The next step will fail for pam_unix 
accounts\n"));
                debug_msg("userhelper: not setuid\n");
                /* no exit here */
        }

--- End Message ---
--- Begin Message ---
Version: 1.114-3+rm

Dear submitter,

as the package usermode has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1151889

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to