Click to See Complete Forum and Search --> : .sh scripts as root


sheek
03-20-2002, 09:34 AM
the script basically replaces files in the kde directory which obviously you have to be root to modify

but root can't run .sh scripts
do i have to copy something from bin to sbin?

OS : Slackware

slapNUT
03-20-2002, 09:54 AM
Login as root and type echo $PATH and make sure the script is located in the path for root. Also make sure it is executable ls -l

SpinyNorman
03-20-2002, 08:00 PM
...or type the fully-qualified pathname when executing a script that doesn't live in your PATH:
/path/to/your/script/scriptname.sh