User Tools

Site Tools


kb:ni-rt:linuxrt:security

Table of Contents

07 Security

For all following commands it is assumed that the user is logged in as admin or another user with root privileges.

Resources

admin Password

See generic security tips first. On Linux, a password can also be set via terminal (passwd command)

SUDO

Source

First, install sudo

  opkg update
  opkg install sudo

Next, setup the proper (limited) permissions for the lvuser user

  visudo

This will open the vi editor and check the additions to the sudoers file to make sure that the syntax is correct. Add something like this to the end of the file, use [i] to enter into editing mode, [esc] to exit editor mode, and [:wq] to write the changes and quit.

  lvuser ALL= (ALL) ALL

This line means: The lvuser user can execute from ALL terminals, acting as ALL (any) users, and run ALL (any) command.

kb/ni-rt/linuxrt/security.txt · Last modified: 2021/03/24 08:33 by manuel.sebald