.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 .\" .\" Standard preamble: .\" ======================================================================== .de Sh \" Subsection heading .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. | will give a .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to .\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' .\" expand to `' in nroff, nothing in troff, for use with C<>. .tr \(*W-|\(bv\*(Tr .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .\" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .hy 0 .if n .na .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "SUDOSCRIPT 8" .TH SUDOSCRIPT 8 "2004-11-22" "perl v5.8.8" "User Contributed Perl Documentation" .SH "NAME" sudoscript \-a system for audited shells with \f(CWsudo(8)\fR and \f(CWscript(1)\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\f(CW\*(C`sudoscript\*(C'\fR is a system that audits a shell run under \f(CWsudo(8)\fR It does this using the venerable unix command \f(CWscript(1)\fR The system consists of two Perl scripts and one Perl module.. The front-end script is called \f(CWsudoshell(1)\fR (also \f(CWss(1)\fR). The backend script is \f(CWsudoscriptd(8)\fR. The Perl module is \&\f(CW\*(C`Sudoscript(3pm)\*(C'\fR. Each of these have their own man pages which it would be well for a system administrator to read before implementing \f(CW\*(C`sudoscript\*(C'\fR. This manpage describes where to get more information about sudoscript. .SH "DOCUMENTATION" .IX Header "DOCUMENTATION" \&\f(CW\*(C`sudoscript\*(C'\fR comes with some documentation that is helpful for system administrators who are deploying the system. On Linux, this documentation is in /usr/share/doc/sudoscript\-${\s-1VERSION\s0}. On all other platforms the documentation is in /usr/local/doc/sudoscript\-${\s-1VERSION\s0}. In each case, \*(L"${\s-1VERSION\s0}\*(R" is replaced with the version of sudoscript. .Sh "\s-1SECURITY\s0" .IX Subsection "SECURITY" Especially when enabling a root shell, \f(CW\*(C`sudoscript\*(C'\fR cannot prevent a user from evading the the audit trail it provides. This is true even if the user is not root. The file \s-1SECURITY\s0 in the distribution and in the documentation directory describes this in detail. It should be mandatory reading before any attempt is made to deploy \f(CW\*(C`sudoscript\*(C'\fR. .Sh "\s-1INSTALLATION\s0" .IX Subsection "INSTALLATION" The steps required to install sudoscript are documented in the \s-1INSTALL\s0 file in the distribution and in the documentation directory. .Sh "\s-1CONFIGURATION\s0" .IX Subsection "CONFIGURATION" Given some configuration of the \f(CWsudoers(5)\fR file, \f(CW\*(C`sudoscript\*(C'\fR can enable a root shell, or a shell as some other user. The details of how to go about this are in the file \s-1SUDOCONFIG\s0 in the distribution, and in the documentation directory. .Sh "\s-1README\s0" .IX Subsection "README" A description of sudoscript that goes into more detail than this man page can be found in the \s-1README\s0 file in the distribution, and in the documentation directory. .Sh "\s-1PORCMOLSULB\s0" .IX Subsection "PORCMOLSULB" The paper \*(L"The Problem of \s-1PORCMOLSULB:\s0 Can Root be Controlled in Engineering Environments?\*(R" is included in the distribution, and in the documentation directory. This paper describes the events that lead up to writing \f(CW\*(C`sudoscript\*(C'\fR, and gives some idea of why I consider the system useful. .Sh "\s-1PORTING\s0" .IX Subsection "PORTING" Some thoughts about how to go about porting \f(CW\*(C`sudoscript\*(C'\fR to a new Unix platform are given in the \s-1PORTING\s0 file in the distribution and in the documentation directory. .Sh "\s-1WEB\s0 \s-1SITE\s0" .IX Subsection "WEB SITE" The \f(CW\*(C`sudoscript\*(C'\fR web site is at \f(CW\*(C`http://www.egbok.com/sudoscript\*(C'\fR. New versions are released there first, before they hit sourceforge or freshmeat. .SH "PLATFORMS" .IX Header "PLATFORMS" \&\f(CW\*(C`sudoscript\*(C'\fR currently runs on the following platforms: .ie n .IP """Linux""" 4 .el .IP "\f(CWLinux\fR" 4 .IX Item "Linux" Tested on Red Hat 6.2 through 9, and Debian Woody. .ie n .IP """Solaris""" 4 .el .IP "\f(CWSolaris\fR" 4 .IX Item "Solaris" Latest version tested on Solaris 9/Intel. Earlier versions were tested on Solaris 7 and 8/Sparc and Solaris 8/Intel. .ie n .IP """FreeBSD""" 4 .el .IP "\f(CWFreeBSD\fR" 4 .IX Item "FreeBSD" Tested on FreeBSD 4.3 .ie n .IP """OpenBSD""" 4 .el .IP "\f(CWOpenBSD\fR" 4 .IX Item "OpenBSD" Tested on version 3.3 .ie n .IP """HP\-UX""" 4 .el .IP "\f(CWHP\-UX\fR" 4 .IX Item "HP-UX" Tested on version 11 by Donny Jekels. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIsudoscriptd\fR\|(8) .PP \&\fIsudoshell\fR\|(1) .PP \&\fISudoscript\fR\|(3pm) .PP \&\fIsudo\fR\|(8) .PP \&\fIsudoers\fR\|(5) .PP http://www.egbok.com/sudoscript .SH "AUTHOR" .IX Header "AUTHOR" Howard Owen, .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright 2003 by Howard Owen .PP sudoscript is free software; you can redistribute it and/or modify it under the same terms as Perl itself. .PP \&\*(L"The Problem of \s-1PORCMOLSULB\s0\*(R" was orginally published in the August 2002 issue of ;login. The paper is distributed under a Creative Commons license, which may be viewed at .