Search Results

Search: Posts Made By: robertkwild
Forum: Programming 11-16-2017
3,417
Posted By robertkwild
Hi Robin yes im confused, what do you mean...
Hi Robin yes im confused, what do you mean sudo_user

do you mean for every command i have in my script put sudo infront of it

then i thought instead of putting sudo infront of every command...
Forum: Programming 11-16-2017
3,417
Posted By robertkwild
i just want the user to run this simple script...
i just want the user to run this simple script that i made to create an ftp user account with a home directpry and i thought a normal user cannot add directorys and make a user chmod chown etc etc - ...
Forum: Programming 11-16-2017
3,417
Posted By robertkwild
thanks Don, i will try out your script Robin...
thanks Don, i will try out your script

Robin - yes i want anyone to run the script and if they are not root it will log in as root or sudo up to root level and then it will run the rest of the...
Forum: Programming 11-15-2017
3,417
Posted By robertkwild
thanks jim instead of -ne 0 can i use !...
thanks jim

instead of -ne 0 can i use ! instead

also the reason i want to do su instead of sudo is because i just want to run the script as root when the user runs it from there user enviroment
Forum: Programming 11-15-2017
3,417
Posted By robertkwild
Running a script as root in the script
hi all,

i think i have got the solution for this but want to run it past you guys first

when i run a script sometimes its necassary to sudo to root so it can create users, chmod etc etc, the...
Showing results 1 to 5 of 5

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