Giter VIP home page Giter VIP logo

auxillary-projects's Introduction

Aux Project 1 - Shell Scripting

In this project, you need to onboard 20 new Linux users onto a server. Create a shell script that reads a csv file that contains the first name of the users to be onboarded.

  • Create the project folder called Shell
mkdir Shell
  • Open the names.csv file
vim names.csv

  • Insert some random names into it. (One name per line)

Shell Script

  • The script you created should read the CSV file, create each user on the server, and add to an existing group called developers (You will need to manually create this group ahead).

  • Ensure that your script will first check for the existence of the user on the system, before it will attempt to create it.

  • Ensure that the user that is being created also has a default home folder

  • Ensure that each user has a .ssh folder within its HOME folder. If it does not exist, then create it.

  • For each user’s SSH configuration, create an authorized_keys file and ensure it has the public key of your current user.

Here is a DEMO of the entire process

I would be redoing this soon, a more optimized video.

auxillary-projects's People

Contributors

royalt1234 avatar

Watchers

 avatar

Forkers

chuks-project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.