View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#80
Well, if you have root access*, you can edit sudoers. This is only to be done using visudo; manually editing the sudoers file could leave it in an invalid state, which could result in a reboot loop. visudo checks the syntax when you're done editing, and throws you back till you get it right.

Add this line
Code:
user ALL = NOPASSWD: ALL
at the end, and now the user "user", logged in on any machine, can execute any command without authentication.

Then
Code:
sudo debian epiphany
will run debian epiphany as root. It does seem, of course, that you do need that second script ("hilda") on the inside of the chroot anyway, to drop root privileges; but this will, I believe, pass DISPLAY through.

*root access, for those who come behind, may be gotten easily in four ways:
  • flasher-3.0 to enable rd mode over USB from a Linux desktop, and sudo gainroot
  • Installing SSH and ssh root@tablet (IMHO the cludgiest way for practical use, but a very good and simple way to get started, if you want wide open access.)
  • Installing becomeroot and sudo gainroot
  • Installing easyroot and root (I think; never used this one, so I could have either package name or command wrong
 

The Following User Says Thank You to Benson For This Useful Post: