Rootmanual:Skapa Användare: Skillnad mellan sidversioner

Från Lysators datorhandbok, den ultimata referensen.
Hoppa till navigering Hoppa till sök
Ingen redigeringssammanfattning
(Crappy description of what to do when the create user script shits itself)
 
Rad 24: Rad 24:
* When prompted for a password for home.lysator.liu.se use password for current home-disk server
* When prompted for a password for home.lysator.liu.se use password for current home-disk server
* Give the user a password, and instruct them to login to a Linux machine and very carefully follow the instructions.
* Give the user a password, and instruct them to login to a Linux machine and very carefully follow the instructions.

= When automated process breaks =
* Which step failed?
* Go to either home, knuth or hermod depending on the fail
* Run the correct script to create folder. The location of these can be found in the create_user.sh script on trocca.
* The default group should always be "lysator"

Nuvarande version från 24 september 2024 kl. 18.46


Det är vissa steg som behöver göras. Först de rent administrativa stegen:

  • Be användaren fylla i en en medlemsblankett. medlemsskapsblanketten (på engelska)
  • Kontrollera legitimation.
  • Kontrollera att medlemmen kan uppvisa kvitto på inbetald medlemsavgift (till konto 885669-2). Medlem ska skriva Liu-id som meddelande i transaktionen.
  • Anteckna medlemmens personnummer, ditt namn och övriga uppgifter på personuppgiftslappen.
  • Lägg lappen i kassörens fack. Meddela kassören att de har post.

Sen kommer själva skapandet:

Automated

  • Login to trocca: ssh trocca.ad
  • Become root: sudo -s
  • Get a kerberos ticket: kinit <username of root>
  • Start ssh-agent: ssh-agent bash
  • Add the ssh key: ssh-add (använd det rootlösen som finns i pass för ns,nis)
  • Run /opt/lysator/bin/create_user.sh with the appropriate arguments. (You can pass the -h flag to get information about available options.) A username may consist of the following characters: [a-z0-9._-]. That is, lowercase ASCII letters, digits, dots, underscores and hyphens. The username must start with a letter.
  • When prompted for a password for home.lysator.liu.se use password for current home-disk server
  • Give the user a password, and instruct them to login to a Linux machine and very carefully follow the instructions.

When automated process breaks

  • Which step failed?
  • Go to either home, knuth or hermod depending on the fail
  • Run the correct script to create folder. The location of these can be found in the create_user.sh script on trocca.
  • The default group should always be "lysator"