We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Serial command line authentication



  • Hi.

    Does anybody knows how to setup authentication when connecting to command line via serial interface. I would like to protect data or at least make it difficult to someone with phisical access to device to get it.

    Thanks.



  • Hi
    Here are the steps to deactivate the serial terminal:

    • Open the following file: /etc/inittab
    • It will look something like this:
    ::sysinit:/etc/init.d/rcS S boot
     
    ::shutdown:/etc/init.d/rcS K shutdown
     
    ::askconsole:/usr/libexec/login.sh
    
    • To disable the serial terminal, the line with askconsole needs to be commented out, like so:
    ::sysinit:/etc/init.d/rcS S boot
    
    ::shutdown:/etc/init.d/rcS K shutdown
    
    #::askconsole:/usr/libexec/login.sh
    
    • Reboot the Omega and the serial terminal will no longer be available. Note that there will still be kernel messages printed, but the terminal will not be available.


  • To make the serial port console use authentication, open the file /etc/config/system

    Edit the line that says option ttylogin '0' and change the 0 to a 1.

    Reboot the system. It will now ask you for a login on the serial port console. Default is user: root, password: onioneer



Looks like your connection to Community was lost, please wait while we try to reconnect.