Skip to content

shadowed1/sudoCrosh

Repository files navigation

logo


A ChromeOS installer for enabling sudo in crosh natively. Requires Developer Mode.




Open Crosh shell (ctrl-alt-t), enter shell, copy paste, and run:

bash <(curl -s "https://raw.githubusercontent.com/shadowed1/sudoCrosh/main/sudocrosh_downloader.sh?$(date +%s)")



logo


Each time ChromeOS is updated these changes are reverted. To re-enable:

  1. log in as root in VT-2 and run:
    bash /usr/local/sudocrosh
  2. Run step 1, reboot and re-run above command.
  3. Run step 2 and reboot. sudo will be re-enabled.

Credits:

Original Guide: https://gist.github.com/velzie/a5088c9ade6ec4d35435b9826b45d7a3
Created by velzie: https://github.com/velzie
GUI inspired by CRAP: https://github.com/chrultrabook/crap
Update Commands based on: https://github.com/jay0lee/cros-scripts/blob/master/disable_cros_updates.sh

About

Enabling sudo in crosh natively for ChromeOS using minijail LD_PRELOAD

Resources

License

Stars

7 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors