Changeset 7427 for 2.0


Ignore:
Timestamp:
Jan 25, 2010, 7:01:35 PM (15 years ago)
Author:
richardvm
Message:

proxyfactory#12\nDiabled Password authentication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2.0/nanobsd/nanobsd/cfg/nanobsd.wleiden

    r7425 r7427  
    229229)
    230230
    231 
     231cust_disable_ssh_password () {
     232  chroot ${NANO_WORLDDIR} sh -c "cd /etc/ssh/ ; cat sshd_config | sed -e 's/\#PasswordAuthentication\ no/PasswordAuthentication\ no/' > sshd_config"
     233}
    232234
    233235# Fill /cfg with custom files, based on 'create_i386_diskimage ( )'
     
    294296#customize_cmd cust_install_lvrouted
    295297customize_cmd cust_version_tag
    296 # customize_cmd cust_allow_ssh_root
     298customize_cmd cust_allow_ssh_root
     299customize_cmd cust_disable_ssh_password
    297300customize_cmd cust_nano_prune
    298301customize_cmd cust_set_root_password
Note: See TracChangeset for help on using the changeset viewer.