[Slackbuilds-users] How to contribute ?
Robby Workman
rworkman at slackbuilds.org
Sun Jan 4 21:48:33 UTC 2009
On Sun, 4 Jan 2009 20:42:29 +0000
Michiel van Wessem <michiel at slackbuilds.org> wrote:
> On Sunday 04 January 2009 18:24:10 Phillip Warner wrote:
> > For those concerned about the possible security implications of
> > running SlackBuilds as root I will share part of my method of using
> > SBo.
> >
> > I always read through the scripts thoroughly unless I am already
> > familiar with the script and author.
> >
> > When I test scripts (both mine and others) I run them as my normal
> > user first. Simply comment out the "chown root:root" line and
> > change $TMP from /tmp/SBo to ~/tmp/SBo.
>
> Since TMP is defined as in the scripts as TMP=${TMP:-/tmp/SBo}, you
> could easily call the script with
> TMP=/home/user/tmp/SBo ./prgnam.SlackBuild.
>
> I usually do the same when vetting the scripts by
> running them as TMP=/tmp/SBo.user ./prgnam.SlackBuild
Even better:
TMP="$HOME/tmp/SBo" ; export TMP
TAG="_whatever" ; export TAG
./prgnam.SlackBuild
./someotherthing.SlackBuild
./somethingelse.SlackBuild
...
-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090104/d9e948cb/attachment.asc>
More information about the SlackBuilds-users
mailing list