Trying to understand linux script [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question I have this Linux script I found and I’m trying to understand it. Could someone please help me to understand it. The script … Read more

Windows 2008 R2 (Web server) reset and mail user password

Is there a script or software that would change a user password on a server each day and mail the new password to an email address? We want to give people limited access to our server but if they are no longer around we don’t want them to have access any more (hence the daily … Read more

Why isnt this sudoer command run as root? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question I want to give PHP access to a very specific script using a configuration under /etc/sudoers.d. So I did the following: visudo -f … Read more

execute bash script on last thursday of every month [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question Actually i have a bash script file and i want to execute it on the last thursday of every month please help me … Read more

Illegal Content in Company Assets [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago. Improve this question I am trying to find illegal content in company laptop such as: movies, torrents, music, … Read more

Check a list of passwords strength [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 9 years ago. Improve this question Is there any way to check a list of passwords whether they strong or not? I have a list of passwords, around 2000, … Read more

bash script mysql reset pass

It seems that this code is not working I tried using it on my debian 7 machine and the password it gives me is wrong. # Please confirm that you want to reset the MySQL passwords CONFIRM=”n” echo -n “Please confirm MySQL password reset. Continue? (y/N): ” read -n 1 CONFIRM_INPUT if [ -n “$CONFIRM_INPUT” … Read more

How to automate a transfer of file from server to local system using ftp

I have a windows server 2003 which generates backup file to ftp folder in the server(using my own script). And I will ftp and copy it to my local hard disk daily. How can I automate this process using any scripts? Edit– I want to pull the archive(rar format) file which will be around 50MB, … Read more

On linux, how can I create script to reboot server if it loses internet for x hours? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 8 years ago. Improve this question I have ubuntu server that has some services that only come back after loosing internet for an extended period of time with a … Read more