Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22031 - sus-2.0.1.ebuild (new ebuild)
Summary: sus-2.0.1.ebuild (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-05-31 21:18 UTC by William Hubbs
Modified: 2003-06-28 01:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
This is the ebuild file. (sus-2.0.1.ebuild,1.26 KB, text/plain)
2003-05-31 21:27 UTC, William Hubbs
Details
This is a default configuration file. (susers.cpp,1.31 KB, text/plain)
2003-05-31 21:29 UTC, William Hubbs
Details
This is the ebuild file. (sus-2.0.1.ebuild,1.26 KB, text/plain; charset=iso-8859-1)
2003-05-31 21:42 UTC, William Hubbs
Details
This is a default configuration file. (susers.cpp,1.31 KB, text/plain; charset=iso-8859-1)
2003-05-31 21:45 UTC, William Hubbs
Details
This is the ebuild (trying again w/ w3m). (sus-2.0.1.ebuild,951 bytes, text/plain)
2003-06-02 09:23 UTC, William Hubbs
Details
This is a default configuration file. (susers.cpp,989 bytes, text/plain)
2003-06-02 09:26 UTC, William Hubbs
Details

Note You need to log in before you can comment on or make changes to this bug.
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.