| 1 |
Note on ksu |
| 2 |
----------- |
| 3 |
This program is not installed setuid root be default. If you want to |
| 4 |
install it setuid root, then you can override the package permissions |
| 5 |
with: |
| 6 |
|
| 7 |
dpkg-statoverride --update --add root root 4755 /usr/bin/ksu |
| 8 |
|
| 9 |
Note on ipropd and/or hpropd |
| 10 |
---------------------------- |
| 11 |
The following entries may be required in you /etc/services |
| 12 |
file (see bug #139845): |
| 13 |
|
| 14 |
krb_prop 754/tcp # Kerberos slave propagation |
| 15 |
iprop 2121/tcp # incremental propagation |
| 16 |
|
| 17 |
Note on kerberos.8 man page |
| 18 |
--------------------------- |
| 19 |
This man page is not currently included due to conflict with kerberos4kth-kdc |
| 20 |
package. For more information on Kerberos, see: |
| 21 |
http://www.nrl.navy.mil/CCS/people/kenh/kerberos-faq.html |
| 22 |
|
| 23 |
Installing heimdal for Debian |
| 24 |
----------------------------- |
| 25 |
(Note: if you do not have a krb4 KDC, you may need to include |
| 26 |
"krb4_get_tickets = no" in the [libdefaults] section of |
| 27 |
kdc.conf; otherwise kinit will complain with an error). |
| 28 |
|
| 29 |
Things you will have to do manually (see info documentation for |
| 30 |
details): |
| 31 |
|
| 32 |
On KDC: |
| 33 |
1. Add administrator keys using kadmin. |
| 34 |
|
| 35 |
For example: |
| 36 |
# kadmin -l |
| 37 |
kadmin> add bam/admin |
| 38 |
Max ticket life [unlimited]: |
| 39 |
Max renewable life [unlimited]: |
| 40 |
Principal expiration time [never]: |
| 41 |
Password expiration time [never]: |
| 42 |
Attributes []: |
| 43 |
bam/[email protected]'s Password: |
| 44 |
Verifying password - bam/[email protected]'s Password: |
| 45 |
|
| 46 |
2. Add kadmin/admin key to KDC: |
| 47 |
|
| 48 |
For example: |
| 49 |
# kadmin -l |
| 50 |
kadmin> add -r kadmin/[email protected] |
| 51 |
Max ticket life [unlimited]: |
| 52 |
Max renewable life [unlimited]: |
| 53 |
Principal expiration time [never]: |
| 54 |
Password expiration time [never]: |
| 55 |
Attributes []: |
| 56 |
|
| 57 |
(note: this key doesn't need to be extracted). |
| 58 |
|
| 59 |
3. Enable remote admistration by creating /etc/heimdal-kdc/kadmind.acl |
| 60 |
|
| 61 |
For example: |
| 62 |
echo 'bam/[email protected] all' > /etc/heimdal-kdc/kadmind.acl |
| 63 |
|
| 64 |
4. Test. |
| 65 |
|
| 66 |
For example: |
| 67 |
# kadmin -p bam/admin |
| 68 |
bam/[email protected]'s Password: |
| 69 |
kadmin> list * |
| 70 |
[should list all keys] |
| 71 |
|
| 72 |
5. Add user keys |
| 73 |
|
| 74 |
For example: |
| 75 |
# kadmin -p bam/admin |
| 76 |
bam/[email protected]'s Password: |
| 77 |
kadmin> add bam |
| 78 |
|
| 79 |
|
| 80 |
On other computers: |
| 81 |
1. If you installed heimdal-clients-x or heimdal-servers-x, |
| 82 |
then you will need to add the following entry to /etc/services |
| 83 |
kx 2111/tcp # X over kerberos |
| 84 |
(check to make sure this doesn't already exist). |
| 85 |
2. edit /etc/krb5.conf |
| 86 |
3. setup secret keys each computer, using kadmin and/or ktutil. |
| 87 |
|
| 88 |
For example, on remote computer dewey.chocbit.org.au: |
| 89 |
bam/[email protected]'s Password: |
| 90 |
kadmin> add -r host/dewey.chocbit.org.au |
| 91 |
[...] |
| 92 |
kadmin> ext host/dewey.chocbit.org.au |
| 93 |
kadmin> add -r ftp/dewey.chocbit.org.au |
| 94 |
[...] |
| 95 |
kadmin> ext ftp/dewey.chocbit.org.au |
| 96 |
|
| 97 |
The ext command extracts keys to /etc/krb5.keytab, where |
| 98 |
they can be inspected with the "ktutil list" command at the |
| 99 |
shell prompt. |
| 100 |
|
| 101 |
Tell me if any files conflict with any other package - do not |
| 102 |
try to force the package to install, otherwise things may break... |
| 103 |
In general, this package conflicts with kerberos4kth and |
| 104 |
probably MIT Kerberos (not packaged as of potato). Local |
| 105 |
installations under /usr/local should be OK. |
| 106 |
|
| 107 |
Changes from upstream source: |
| 108 |
1. popper checks for $HOME/Maildir, $HOME/Mailbox and /var/spool/mail/<user> |
| 109 |
in that order. |
| 110 |
2. /var/lib/heimdal-kdc used instead of /var/heimdal |
| 111 |
3. /usr/bin/login moved to /usr/lib/heimdal-servers |
| 112 |
4. /usr/lib/heimdal-servers used instead of /usr/libexec |
| 113 |
5. kdc config files kdc.conf and kadmind.acl stored in |
| 114 |
/etc/heimdal-kdc instead of /usr/lib/heimdal-servers. |
| 115 |
|
| 116 |
Automatically creating users |
| 117 |
----------------------------- |
| 118 |
|
| 119 |
Option #1: Use perl glue found at |
| 120 |
<ftp://ftp.su.se/pub/users/leifj/Heimdal-Kadm5-0.04.tar.gz> |
| 121 |
|
| 122 |
Option #2: cat kadmin-commands | kadmin |
| 123 |
|
| 124 |
For more details, see <http://bugs.debian.org/276402>. |
| 125 |
|
| 126 |
-- Brian May <[email protected]>, Wed, 8 Dec 1999 11:54:13 +1100 |