projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1c4afe0
)
LDAP host entries are more important now
author
Peter Palfrader
<peter@palfrader.org>
Fri, 28 Aug 2009 20:25:45 +0000
(22:25 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 28 Aug 2009 20:25:45 +0000
(22:25 +0200)
input/howto/new-machine.creole
patch
|
blob
|
history
diff --git
a/input/howto/new-machine.creole
b/input/howto/new-machine.creole
index
f73c2da
..
fcf4c31
100644
(file)
--- a/
input/howto/new-machine.creole
+++ b/
input/howto/new-machine.creole
@@
-26,19
+26,16
@@
Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup
dpkg -l postfix | grep '^ii postfix' && (dpkg --purge postfix && rm /etc/aliases)
}}}
dpkg -l postfix | grep '^ii postfix' && (dpkg --purge postfix && rm /etc/aliases)
}}}
-*
setup [[puppet|howto/puppet-setup]] (run the puppet client two or three times until things converge.)
+*
on draghi, add the host to the ldap using ud-host. Set the ssh key and the IP Address attributes.
-* on draghi, add the host to /home/sshdist/.ssh/authorized_keys
-(you want the host's rsa host key there: {{{cat /etc/ssh/ssh_host_rsa_key.pub}}})
-{{{
- : :: draghi :: && sudo vi /home/sshdist/.ssh/authorized_keys
-}}}
-* use ud-host to add the new host to LDAP
* run generate, or wait until cron runs it for you
{{{
* run generate, or wait until cron runs it for you
{{{
- : :: draghi :: && sudo -u sshdist ud-generate
+ : :: draghi :: && sudo -u sshdist ud-generate
&& sudo -H ud-replicate
}}}
}}}
+* setup [[puppet|howto/puppet-setup]] (run the puppet client two or three times until things converge.)
+
+
* fix nsswitch for ud fu. (you might have to restart sshd here)
{{{
sed -i -e 's/^passwd:\[[:space:]]\+compat$/passwd: compat db/;
* fix nsswitch for ud fu. (you might have to restart sshd here)
{{{
sed -i -e 's/^passwd:\[[:space:]]\+compat$/passwd: compat db/;