SudoScript on Solaris 10

| 0 Comments | 0 TrackBacks

Sudoscript is a pair of Perl scripts (sudoscriptd/sudoshell) that provide an audited shell using sudo. SudoScript by Howard Owen can be found at http://www.egbok.com/sudoscript .

Here are my notes to configure SudoScript for Solaris 10.

1 - Update the setlogsock from "unix" to "stream" in sudoscriptd


#setlogsock 'unix';
setlogsock 'stream';

2 - /etc/shells does not exist on Solaris 10, create a /etc/shells file with the appropriate shells defined


/bin/sh
/bin/csh
/bin/ksh
/bin/bash

3 - Define the location of your sudo binary in Sudoscript.pm


#$self->{SUDO}="sudo";
$self->{SUDO}="/opt/sfw/bin/sudo";

No TrackBacks

TrackBack URL: http://baldwinsung.com/cgi-bin/mt-tb.cgi/154

Leave a comment

Recent Entries

VNC Startup GNOME Desktop
Modify the $HOME/.vnc/xstartup file to include gnome-session. #!/bin/sh [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources #xsetroot -solid grey #xterm -geometry…
iSCSI Initiator for Mac OS X
Download globalSAN…
Perl Broken Pipe
The code was producing "Broken Pipe" errors intermittently. The only workaround I could figure out was to ignore the sigpipe.…