"sudosh is a pty filter that allows the use of a root shell in conjunction with sudo. Sudosh is basically a VCR and will record root shell sessions and also has the capability to play back the sessions as they were originally recorded." ebuild to be attached.
Created attachment 42312 [details] app-admin/sudosh-1.3.0 ebuild
1.3.4 is out (security fix) 2004-10-21 Douglas Richard Hanks, Jr. <dhanks@gmail.com> * Cleaned the headers on sudosh.c * Corrected AIX compile bug * Corrected Solaris compile bug * Added full support for ALPHA Linux * Added full support for SPARC SunOS Solaris 5.8 2004-10-24 Douglas Richard Hanks, Jr. <dhanks@gmail.com> * Fixed major security hole in SHELL environment variable.
Package seems to have stabilized (last release was late October). Previous ebuild has been tested with 1.4.1. According to changelog, these platforms are supported: * alpha-dec-osf4* * alpha-dec-osf5.1* * alpha-dec-linux * hppa2.0w-hp-hpux11.11 * hppa2.0w-hp-hpux11.12 * ia64-hp-hpux11.23 * powerpc-ibm-aix4.3.3 * powerpc-ibm-aix5.1.0 * powerpc-ibm-aix5.2.0 * sparc-sun-solaris2.8 * sparc-sun-solaris2.9 * i*86-*-solaris2.9 * i*86-*-solaris2.8 * i*86-suse-linux (SuSE Enterprise Server 9.0) * i*86-intel-linux (RedHat Enterprise Linux ES/AS 3.0)
Unfortunately, it doesn't seem to work. I get the following when running 'sudo sudosh': getlogin() returned NULL. I do not know who you are. Stopping.
It doesn't do that for me. Perhaps there is some dependency that's been overlooked. But then, I would expect the build to fail if that were the case. getlogin returns a pointer to a string containing the name of the user logged in on the controlling terminal of the process, or a null pointer if this information cannot be determined. The string is statically allocated and might be overwritten on subsequent calls to this function or to cuserid. The man page for getlogin also seem to indicate that it reads the utmp file (/var/run/utmp on gentoo).
Created attachment 70471 [details] Sudosh Version 1.6.3
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq