require a bash wizard with ssh knowledge

Completed Posted 7 months ago Paid on delivery
Completed Paid on delivery

I require a fast bash'er

You job will be to provide bash script for updating htpasswd on a remote host

this means you have provide the operations/functions:

- initHtpasswdFile(htpasswdFile) // fail if file is existing already

- listUsersExisting(htpasswdFile) // fail if file is missing

- deleteUsers(htpasswdFile, List/array of users)

- createUsers(htpasswdFile, List dataset with <username, password>) // fail if user is already defined with error to use update

- updateUserPassword(htpasswdFile, List dataset with <username, password>) // fail if user is missing to use create

- resetUserPassword(htpasswdFile, List dataset with <username, password>) // set password with an arbitrary unreadable max-length-char password and fully random with all char space allowed (upper, lower, number, special chars) if password is null/unset in the dataset

common

// fail with reasonable error, if permissions are missing to write the file or the file is missing and refer to the corresponding required function to call

MS2:

implement wrappers which provide convinient calls on the set-functions with only one user/username. This function does a wrapping around the above implemented functions! Not the opposite that the list based is executing this function n-times!

Consider the set value == 1 to a special case of the list/collection/array of multiple entries

implement also 2 functions to echo the required configurations, like named here:

[login to view URL]

- showHtaccessExample()

- showApacheConfExample()

target OS:

- ubuntu 20.04, 22.04

- debian all stable

delivery:

- into our on premise git (access will be granted to you after award)

- script works on our end too

Linux Shell Script Bash Scripting Bash

Project ID: #37325627

About the project

4 proposals Remote project Active 7 mos ago

Awarded to:

anasfreelance08

Anas and his team at Full-Stack Development are excited to hear about your project! We understand that you require a fast bash'er to provide bash scripts for updating htpasswd on a remote host. This means you need to p More

$20 USD in 7 days
(1 Review)
0.0

4 freelancers are bidding on average $48 for this job

MRARIFAKRAM

Hi there! My name is Muhammad Abdullah and I'm with ABDULLAH TECH LTD. I understand that you require a fast bash'er to provide bash script for updating htpasswd on a remote host. Specifically, you need me to provide th More

$30 USD in 1 day
(70 Reviews)
5.8
Buddhi220793

I have checked your requirement and I think,I have the required skills to complete this task. I have 8+ years of working experience in IT industry. I have in depth knowledge of working on Linux systems and bas scriptin More

$20 USD in 7 days
(0 Reviews)
0.0