Rootmanual:Skapa Användare: Skillnad mellan sidversioner

Från Lysators datorhandbok, den ultimata referensen.
Hoppa till navigering Hoppa till sök
(clarify whose username to get a ticket for)
(clarify home disk password)
Rad 22: Rad 22:
* Add the ssh key: <tt>ssh-add</tt> (använd det rootlösen som finns i pass för ns,nis)
* Add the ssh key: <tt>ssh-add</tt> (använd det rootlösen som finns i pass för ns,nis)
* Run <tt>/opt/lysator/bin/create_user.sh</tt> with the appropriate arguments. (You can pass the <tt>-h</tt> flag to get information about available options.) A username may consist of the following characters: <i>[a-z0-9._-]</i>. That is, lowercase ASCII letters, digits, dots, underscores and hyphens. The username must start with a letter.
* Run <tt>/opt/lysator/bin/create_user.sh</tt> with the appropriate arguments. (You can pass the <tt>-h</tt> flag to get information about available options.) A username may consist of the following characters: <i>[a-z0-9._-]</i>. 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.
* Give the user a password, and instruct them to login to a Linux machine and very carefully follow the instructions.

Versionen från 5 september 2024 kl. 15.16


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).
  • 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.