Giter Club home page Giter Club logo

alpine-setup's Introduction

scripts

01_edge-main-repo.sh
  • truncates /etc/apk/repositories, and by default sources only the edge/main repo.
  • updates the system to edge.
02_create-user-lock-root.sh
  • asks the user to specify a username and a password: a user with such credentials will be created.
  • adds the newly created user to the wheel group.
  • installs the doas package (sudo alternative).
  • disables the root user.
  • prompts the user to digit the exit command and login again as the newly created user, such user will be able to gain root privileges trough the doas command.
03_autologin.sh
  • installs the tcc C compiler (~1Mb) and the musl-dev package (~10Mb) which containts the standard C libraries.
  • compiles a binary called autologin and puts it into /usr/sbin, such binary is a wrapper around the login binary situated in /bin.
  • edits /etc/inittab adding the -n -l /usr/sbin/autologin flags to /sbin/getty for each tty.
  • truncates etc/motd: the file containing the message prompted right after login.
04_silent-boot.sh
  • Enables OpenRC parallelization by editing rc_parallel="YES" in the /etc/rc.conf file.
  • Adds the --quiet flags to the /sbin/openrc commands in the /etc/inittab file.
05_ash-config.sh
  • nukes /etc/profile.
  • sets /etc/profile.d/ as the directory in which to look for startup scripts.
  • sets ~/.config/ash/ as the .ashrc directory.
  • sets ~/.logs/ash/ as the .ash_history directory.

alpine-setup's People

Contributors

marco-dg avatar hertz-hwang avatar

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.