For all following commands it is assumed that the user is logged in as
admin or another user with root privileges.
See also the wiki page on Security on RIO Systems for generic tips and info.
See generic security tips first. On Linux, a password can also be set via terminal (
First, install sudo
opkg update opkg install sudo
Next, setup the proper (limited) permissions for the lvuser user
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.