Changeset 592
- Timestamp:
- 05/29/08 10:52:02 (3 months ago)
- Files:
-
- cdd-utils/trunk/debian/changelog (modified) (1 diff)
- cdd-utils/trunk/lib/server.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cdd-utils/trunk/debian/changelog
r590 r592 10 10 * Disabled pci=nobios for trinity 11 11 * Set squirrelmail default language 12 * Configure default authorized keys 12 13 13 14 -- Free Ekanayaka <freee@debian.org> Fri, 23 May 2008 18:17:25 +0100 cdd-utils/trunk/lib/server.sh
r591 r592 442 442 } 443 443 444 # Do not allow password longins 445 # 446 # openssh-server 444 447 sshd () { 448 449 key=$1 450 if nullstr "$key"; then warning "No ssh key given"; return; fi 451 445 452 cfg=/etc/ssh/sshd_config 446 453 if ! exists $cfg; then warning $cfg not found; return; fi 447 454 unc_key "PasswordAuthentication" "#" "$cfg" 448 455 set_key "PasswordAuthentication" " " "no" "$cfg" 449 } 450 456 457 if ! exists "/root/.ssh/authorized_keys"; then 458 cp $key /root/.ssh/authorized_keys 459 fi 460 } 461
