Search Results

Search: Posts Made By: blak422
1,572
Posted By blak422
I guess I forgot the sudo part on the...
I guess I forgot the sudo part on the shell_exec() and I have to enter my pass when I run this. As bad as it is the company setup http to have sudo access (im told). There is a python script that...
1,572
Posted By blak422
Simple sh called by PHP to create users HELP
Hello! Im trying to create a shell script that will be executed by PHP like:

$return = shell_exec("./makeUser.sh $user $pass");


My shell script looks like:

#!/bin/bash

NAME=$1
PWD=$2
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy