GNU bug report logs - #8700
Simple way to switch user/group permissions without requiring PAM sessions

Previous Next

Package: coreutils;

Reported by: Colin Watson <cjwatson <at> debian.org>

Date: Thu, 19 May 2011 13:14:03 UTC

Severity: normal

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Karel Zak <kzak <at> redhat.com>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: hurd-devel <at> gnu.org, Jim Meyering <jim <at> meyering.net>, Ludwig Nussel <ludwig.nussel <at> suse.de>, Coreutils <coreutils <at> gnu.org>, 8700 <at> debbugs.gnu.org, Ondřej Vašík <ovasik <at> redhat.com>
Subject: bug#8700: removing "su" from coreutils [Re: Fwd: [PULL] su
Date: Mon, 20 Aug 2012 20:36:10 +0200
On Mon, Aug 20, 2012 at 10:24:05AM +0100, Pádraig Brady wrote:
> On 05/24/2012 02:50 PM, Pádraig Brady wrote:
> > Note Fedora and Suse use su from coreutils
> > while debian use their own:
> > http://pkg-shadow.alioth.debian.org/
> > 
> > Note also Fedora has `runuser` which is based on su:
> > http://pkgs.fedoraproject.org/gitweb/?p=coreutils.git;a=blob;f=coreutils-8.7-runuser.patch;hb=HEAD
> > 
> > There was also a very related request for
> > `runuser` like functionality to be generally available:
> > http://bugs.gnu.org/8700
> > 
> > It's probably worth bringing runuser with su,
> > no matter where they end up.
> 
> So with su being removed in favor of the util-linux implementation,
> `runuser` is being implemented there too.
> I.E. it will be available outside of redhat/fedora/centos/...
> in util-linux >= 2.22, and so should address http://bugs.gnu.org/8700

 My plan is to merge Fedora runuser patch (it means add -g -G options
 to su(1)) after 2.22. It's too late for 2.22 (as we have -rc2 now).

 The patch will be available ASAP after 2.22 release in the util-linux
 upstream tree and maybe will be in 2.22.1 too.

> Note from previous comments in this thread,
> it seems like allowing runser to be built (as an option?)
> without requiring PAM, would be useful.
> 
> For reference, here are utils with similar functionality:

 Thanks for the references!

    Karel

-- 
 Karel Zak  <kzak <at> redhat.com>
 http://karelzak.blogspot.com




This bug report was last modified 6 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.