bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: plans for setuidgid


From: Jim Meyering
Subject: Re: plans for setuidgid
Date: Sat, 07 Oct 2006 10:13:42 +0200

Mike Frysinger <address@hidden> wrote:
> are there any plans to start actually installing `setuidgid` ?  or will this
> simply remain a "testing-only" binary ?

Red Hat's coreutils patches include the addition of the "runuser"
program, which provides a super-set of setuidgid's functionality.
I'll be adding that upstream, pretty soon.

    $ runuser --help
    Usage: runuser [OPTION]... [-] [USER [ARG]...]
    Change the effective user id and group id to that of USER.

      -, -l, --login               make the shell a login shell
      -g --group=group             specify the primary group
      -G --supp-group=group        specify a supplemental group
      -c, --commmand=COMMAND       pass a single COMMAND to the shell with -c
      --session-command=COMMAND    pass a single COMMAND to the shell with -c
                                   and do not create a new session
      -f, --fast                   pass -f to the shell (for csh or tcsh)
      -m, --preserve-environment   do not reset environment variables
      -p                           same as -m
      -s, --shell=SHELL            run SHELL if /etc/shells allows it
          --help     display this help and exit
          --version  output version information and exit

    A mere - implies -l.   If USER not given, assume root.

    Report bugs to <address@hidden>.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]