]> sipb.mit.edu Git - wiki.git/blobdiff - doc/root-instance.mdwn
clarify that ktadd/ktremove are kadmin subcommands
[wiki.git] / doc / root-instance.mdwn
index 1747d67a7fcf309479812984c22080ca711d7fbc..1d43b2368cb5d91538e50aad00681cc1662c7e11 100644 (file)
@@ -36,23 +36,19 @@ wisest idea to let servers that you're asking hundreds of people to
 log into and use be controlled by a password you're typing everywhere.
 
 So you get a root instance, and only type the root instance password
 log into and use be controlled by a password you're typing everywhere.
 
 So you get a root instance, and only type the root instance password
-on computers you trust and only when you need to. Many people only
-ever type it on their laptop, or on a freshly booted Live CD. Some
-people feel comfortable typing it on a few private Athena workstations
-(SIPB office heads are a common choice), but if an attacker has stolen
-your regular (null instance) password and installed a keylogger on
-your account, it doesn't matter where you're logging in if it's still
-your Athena account.
+on computers you trust and only when you need to.  You should only
+type your password on a computer that you trust, such a private laptop
+or workstation.  If you have access to physical hardware that you
+trust, but not a trusted installation, you can use a printed LiveCD,
+or a one-time LiveUSB as created by hardware that you trust.
 
 You can also make things in Moira or AFS owned by your root instance,
 if you don't want your null instance to be able to mess with mailing
 lists or lockers. For Moira, make them owned by
 
 You can also make things in Moira or AFS owned by your root instance,
 if you don't want your null instance to be able to mess with mailing
 lists or lockers. For Moira, make them owned by
-`KERBEROS:yourname.root@ATHENA.MIT.EDU`. (For legacy Kerberos 4 reasons,
-Moira and AFS both use a dot instead of a slash to separate the
-principal and the instance.) For AFS, ask accounts or afsreq to get
-you a 'pts id', basically an account with the AFS servers, and then
-you can give bits to yourname.root and start blanching your root
-instance onto AFS groups.
+`KERBEROS:yourname/root@ATHENA.MIT.EDU`. For AFS, ask accounts or
+afsreq to get you a 'pts id', basically an account with the AFS
+servers, and then you can give bits to yourname.root and start
+blanching your root instance onto AFS groups.
 
 To use another instance, just specify it to the kinit command, e.g.,
 `kinit joeuser/root`.
 
 To use another instance, just specify it to the kinit command, e.g.,
 `kinit joeuser/root`.
@@ -113,7 +109,7 @@ be sure to ask for a pts id, if you want to use your tickets with AFS.
 
 You should change your root instance’s password with a command like this, to upgrade your key from critically weak DES encryption algorithm to strong AES encryption:
 
 
 You should change your root instance’s password with a command like this, to upgrade your key from critically weak DES encryption algorithm to strong AES encryption:
 
-    kadmin -p andersk/root -q 'cpw -e aes256-cts:normal andersk/root'
+    kadmin -p andersk/root -q 'cpw -e aes256-cts:normal -e aes128-cts:normal andersk/root'
 
 (Note: This might make your password incompatible with a [handful of services](http://debathena.mit.edu/trac/ticket/529) that you should not have been using with your root instance in the first place.)  You can confirm the change with
 
 
 (Note: This might make your password incompatible with a [handful of services](http://debathena.mit.edu/trac/ticket/529) that you should not have been using with your root instance in the first place.)  You can confirm the change with
 
@@ -122,3 +118,5 @@ You should change your root instance’s password with a command like this, to u
 which should list a line like
 
     Key: vno 4, aes256-cts-hmac-sha1-96, no salt
 which should list a line like
 
     Key: vno 4, aes256-cts-hmac-sha1-96, no salt
+
+If you change your password again, you will need to specify your desired enctypes with the -e option; otherwise, they will be reset to the defaults.