s-news
[Top] [All Lists]

How can I activate Splus from nobody in Unix

To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Subject: How can I activate Splus from nobody in Unix
From: Dai Xu-AXD095 <Xudong.Dai@motorola.com>
Date: Mon, 24 Sep 2001 14:00:29 -0500
This must be a novie quesion. I try to activate Splus in Unix with shell script 
as following:


prefix=`echo $1 | /bin/sed -e 's/.txt$//'`

HOME=$prefix

mkdir $prefix
chmod 777 $prefix

cd $prefix
/usr/local/bin/Splus CHAPTER<<END
source("/home/ahz095/proj/errest/ErrorCal2")
foo<-ErrorCal("$1", $2, $3, $4)
q()



Although we have changed the default HOME path to \tmp\ where the nobody can 
write, Splus fail to creat its structures, such as MySwork in the tmp directory 
because of pemission error.  Since we are sure files and directories can be 
made under the /tmp directory by any user, inlcuding the nobidy, there must be 
something we have not set up correct from Splus side for it to be activated.    
  Any suggestions about activate Splus and run a script from CGI as NOBODY?

Thank you.

Xudong 

<Prev in Thread] Current Thread [Next in Thread>
  • How can I activate Splus from nobody in Unix, Dai Xu-AXD095 <=