Find Jobs
Hire Freelancers

shell script expert

$10-30 USD

Geschlossen
Veröffentlicht vor mehr als 4 Jahren

$10-30 USD

Bezahlt bei Lieferung
I have below script which will basically run various commands that i enter inside the quotes. This needs to execute now as "root" user , currently it run as "bob" user which has "root" privilages by becoming root user with sudo su Please let me know if you can make it without changing below code much. #!/bin/bash tmpdir=${TMPDIR:-/home/cloud-user}/output.$$ mkdir -p $tmpdir count=0 while IFS= read -r host; do ssh -n -o BatchMode=yes -q -o "StrictHostKeyChecking no" -i /home/cloud-user/keys/[login to view URL] ${host} 'hostname -f & command1 & command2' > ${tmpdir}/${host} 2>&1 & count=`expr $count + 1` done < '/home/cloud-user/servers/[login to view URL]' while [ $count -gt 0 ]; do wait $pids count=`expr $count - 1` done echo "Output for hosts are in $tmpdir" exit 0 NOTE: on all hosts "bob" user exist and he can become root on all hosts without password Script need to execute on 500 nodes all at once All commands which are in quotes needs to be executed as "root" user. ('hostname -f & command1 & command2' ) on local host, it currently runs as my id "bob"
Projekt-ID: 23377372

Über das Projekt

14 Vorschläge
Remote Projekt
Aktiv vor 4 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
14 Freelancer bieten im Durchschnitt $29 USD für diesen Auftrag
Avatar des Nutzers
hello, i have 10+ years of linux administration experience though things aren't that clear for me in the task description. as i see - there's nothing to do in provided script itself, some details are missing i guess. is it whole script?
$30 USD in 1 Tag
5,0 (21 Bewertungen)
6,0
6,0
Avatar des Nutzers
I am good in shell script along with automation and development, please let me know if you are good to award this project to me
$30 USD in 2 Tagen
5,0 (40 Bewertungen)
5,3
5,3
Avatar des Nutzers
Hi. I can help you without problem. I can provide you with a basic bash script converting required user to root using sudo. Be advice, you need to configure sudo firts for required user. Open to questions
$25 USD in 1 Tag
4,9 (88 Bewertungen)
5,5
5,5
Avatar des Nutzers
HI, Do you mean the ssh command need to be executed as root through the script ? By the way, i didnt get a reason for you to do that as bob is having the sudo permission. Better you explain the problem you need to solve. Thanks
$20 USD in 1 Tag
5,0 (49 Bewertungen)
5,3
5,3
Avatar des Nutzers
Hi There!! I have been working as Linux Administrator for 6+ years and have written many shell scripts and Ansible Playbook for automating projects. I have been working in vRealize Automation tool which has various Blueprints(45 in total including Application and DB) consisting of steps done in shell scripting. PAtching of the servers is also taken care of Automatically. I have the right skill to take care of your request
$30 USD in 1 Tag
5,0 (19 Bewertungen)
3,9
3,9
Avatar des Nutzers
Hi, Try replacing 'hostname -f & command1 & command2' with 'hostname -f & sudo command1 & sudo command2'. If it works, please feel free to assign the project to me and pay the milestone :-). I've put $10 because the freelancer platform will charge $5 and I get to keep the rest. thanks sanjay
$10 USD in 1 Tag
5,0 (8 Bewertungen)
3,8
3,8
Avatar des Nutzers
Hello. I have some experiences for similar projects with yours. I have rich experiences as a Python developer for 12 years. I have developed 250+ projects based Python and 7 of them are used for huge companies like Naver Corp, Xaomi. My programming was started when I was in high school and I was a competitive programmer in ACM ICPC contests. Python is my most loved programming language and I am confident any types of Python projects. I am willing to prove my experiences and skills through technical interviews and you can see I am the best fit developer for your project. I am already figuring out what is the best solution for your tasks and hopefully, it would be great choice for you. Please contact me if you want to complete your project on high quality and time. Best regards. Aleksandar.
$25 USD in 7 Tagen
5,0 (5 Bewertungen)
2,5
2,5
Avatar des Nutzers
Dear Client, How are you? I can start now. I am very interested in this project. I have rich experience in python with over 8 years of experience and very strong in this field. I can deliver you a wonderful result as you want. Please send me a message so that we can discuss it more. Best regards.
$20 USD in 1 Tag
5,0 (2 Bewertungen)
2,2
2,2
Avatar des Nutzers
Hello, I request you to award me this task since I am experienced with Linux bash scripts. I will provide documentation where required.
$25 USD in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi, You don't need to change a single line in your code. While running your script itslef, you can define with which user your script should run. It is not even 5 mins jobs, you basically need to know the right command which should be used. Message me so that I can help you. Technical Proficiency: Scripting Language - Shell, Python and AWK Operating System - Linux (Centos, Fedora, Ubuntu) Monitoring Tools - Nagios, AWS CloudWatch Database - MySQL CI/CD Tools - Jenkins Log Management - Logentries, ELK & AWS CloudWatch Logs Development Tools - Git, Jira Configuration Management Tool - Ansible Containerisation - Docker Container Orchestration - Docker Swarm Cloud Infra - AWS (ELB, VPC, VPC Peering, EC2, S3, RDS, RDS Read Replica, CloudWatch, Auto Scaling Group, Security Group, IAM) Web Servers - Nginx, Apache
$10 USD in 1 Tag
5,0 (1 Bewertung)
0,0
0,0
Avatar des Nutzers
Hello , I am a software developer who can assist you in your project without changing a single line of the script.I can also show you a trick or two in the process so that you could be able to do it yourself. Thank you. Please reach out so that we can get started ASAP.
$30 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi , I have good experience to shell scripting. I would like to work on this project. Thanks. Brossfl.
$20 USD in 7 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Family
$25 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
Westerville, United States
5,0
1
Zahlungsmethode verifiziert
Mitglied seit Feb. 26, 2016

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.