Editing User Anlegen

From Chaosdorf Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Nutzer befinden sich im LDAP und werden daher auf backend angelegt.
Nutzer befinden sich im LDAP und werden daher auf backend angelegt.


Nutzer anlegen und zufälliges Passwort erstellen:
Nutzer anlegen:


  fab user nickname Vorname Nachname
cpu useradd -f ''VORNAME'' -E ''NAME'' -e ''NUTZERNAME@chaosdorf.de'' ''NUTZERNAME''


Mailweiterleitung einrichten:
Passwort zuweisen:


  fab mailforward nickname foo@example.org
ldappasswd -y /root/ldap_password -x -W -D cn=admin,dc=chaosdorf,dc=de uid=''NUTZERNAME'',ou=People,dc=chaosdorf,dc=de


SSH-Key eintragen:
SSH-Key eintragen


  ssh backend.chaosdorf.de
ldapvi uid=''NUTZERNAME''
  sudo ldapvi uid=nickname
 
  sshPublicKey=...
Attribut sshPublickey mit dem SSH-Key einfügen
  fab sshkey:nickname,PfadZumSSHKey


Der Cronjob für das Verteilen der SSH-Keys läuft alle fünf Minuten.
Der Cronjob für das Verteilen der SSH-Keys läuft alle fünf Minuten.
== Mailfu auf frontend ==
Nach dem Anlegen des Users:
mkdir /srv/mail/''NUTZERNAME''
chown ''NUTZERNAME'':''NUTZERNAME'' /srv/mail/''NUTZERNAME''
Andernfalls ist Mailempfang nicht möglich.
Liegt wohl an der `local`-Umstellung, wenn diese rückgängig gemacht wird ist
ist das nicht mehr nötig.


[[Category:Administration]] [[Category:Howto]]
[[Category:Administration]] [[Category:Howto]]
Please note that all contributions to Chaosdorf Wiki are considered to be released under the Attribution 3.0 Unported (see Chaosdorf Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)