Changeset 13424 in hybrid for branches/releng-10/nanobsd/cfg


Ignore:
Timestamp:
Oct 3, 2015, 11:22:03 PM (9 years ago)
Author:
rick
Message:

Secured serial access requiring no password.

We hardly use the root password since all uses SSH keys, how-ever when
sometimes requires to use the serial console the password requirement is a
large inconvience. Since all location have a physically secured serial access I
would consider this access 'safe' not needing to type an password.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/cfg/nanobsd.wleiden

    r13423 r13424  
    256256cust_serial_ttys() (
    257257        chroot ${NANO_WORLDDIR} sed -i '' -e '/ttyv[0-9]/s/on /off/' -e '/ttyu0/s/off/on/' -e '/ttyu0/s/dialup/ansi/' /etc/ttys
     258
     259        # Serial login is consided to be phycically secured, so no credentials are required
     260        chroot ${NANO_WORLDDIR} sed -i '' -e '/ttyu0/s/std.9600/al.9600/' /etc/ttys
    258261)
    259262
Note: See TracChangeset for help on using the changeset viewer.