Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22031

Summary: sus-2.0.1.ebuild (new ebuild)
Product: Gentoo Linux Reporter: William Hubbs <kc5eiv>
Component: New packagesAssignee: Joshua Kinard <kumba>
Status: RESOLVED FIXED    
Severity: enhancement CC: kc5eiv
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: This is the ebuild file.
This is a default configuration file.
This is the ebuild file.
This is a default configuration file.
This is the ebuild (trying again w/ w3m).
This is a default configuration file.

Description William Hubbs 2003-05-31 21:18:58 UTC
sus is a program that allows users to run commands as root or as another user.
Comment 1 William Hubbs 2003-05-31 21:27:23 UTC
Created attachment 12624 [details]
This is the ebuild file.

This should probably go in the app-admin category.
Comment 2 William Hubbs 2003-05-31 21:29:44 UTC
Created attachment 12625 [details]
This is a default configuration file.

This file is set up to let users in group "wheel" run any command as root.
Comment 3 William Hubbs 2003-05-31 21:42:03 UTC
Created attachment 12626 [details]
This is the ebuild file.

This should probably go into the app-admin category.
Comment 4 William Hubbs 2003-05-31 21:45:37 UTC
Created attachment 12627 [details]
This is a default configuration file.

This sets up so that users in group wheel can run anything as root.
Comment 5 William Hubbs 2003-06-02 09:23:19 UTC
Created attachment 12682 [details]
This is the ebuild (trying again w/ w3m).
Comment 6 William Hubbs 2003-06-02 09:26:04 UTC
Created attachment 12683 [details]
This is a default configuration file.
Comment 7 Joshua Kinard gentoo-dev 2003-06-18 02:14:25 UTC
Will take a look at the ebuild, clean it up, test, and keyword to ~arch barring any outstanding issues.

btw, this program sounds s bit like 'sudo' and 'su', any major differences?
Comment 8 William Hubbs 2003-06-19 06:14:37 UTC
One thing it is supposed to be able to do is run processes as
session leaders.

I guess I just like this program because the control file seems to be a little more understandable than sudo's control file, and it allows me to set up the path so I don't have to type full paths to some commands like I did with sudo.
Comment 9 Joshua Kinard gentoo-dev 2003-06-24 21:21:11 UTC
Finally getting around to this (sorry for the delay), but I have a question looking at your ebuild.  You install part of the package in /var and make it executable.  Is this normal behavior?  All my machines mount /var as a separate partition with "noexec" to prevent executables from running from /var.  This looks like it might pose a problems for this ebuild.
Comment 10 William Hubbs 2003-06-25 06:01:35 UTC
It should not be a problem.  /var/run/sus is a directory where timestamps are put similar to the way sudo works.
Sudo does the same thing with the directory /var/run/sudo, so if tht doesn't causea problem on your machines this shouldn't either as far as I know.
Comment 11 Joshua Kinard gentoo-dev 2003-06-28 01:56:50 UTC
It's added.  Made some minor changes to the ebuild to copy the config file to /etc (the config is stored in the files subdir of sus in the tree) and a few einfo's to tell the user to look over this config file.

It's marked ~x86, ~sparc, and ~mips.