view · edit · print · history

Sudo is normally used to run a command as root. This can also allow you to avoid having to ssh in as root (A Good Thing.)


  1. ipkg install sudo
  2. chmod 440 /opt/etc/sudoers
  3. edit /opt/etc/sudoers to include a line
     username ALL=(ALL) ALL

You should now be able to use sudo with the username account. For a root shell type sudo /opt/bin/bash (or sudo sh if bash isn't installed.)

Hint: How it is shown in the sudoers-file you should edit the file with the visudo command. Otherwise it won't work! - Franz

view · edit · print · history · Last edited by Franz.
Originally by jharuska.
Page last modified on November 16, 2006, at 01:32 AM