[maemo-developers] ANN: rootsh -- alternative to becomeroot
From: Tomi Ollila tomi.ollila at guru.guru-group.fiDate: Thu Dec 13 20:59:05 EET 2007
- Previous message: apt-get; gstreamer-dev; "pkg-config has no installation candidate" -- addon
- Next message: Having problems getting build enviroment set up (Chinook)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Rootsh is a command that installs at /usr/bin/rootsh and is setuid root by debian package postinst script. Usage: rootsh [[-a arg0] command [args...]] Without command it runs $SHELL, or /bin/sh unless $SHELL defined. "improvements" over becomeroot * Does not edit any files (/etc/sudoers), uninstall just removes /usr/bin/rootsh * Can run command directly with root privileges * Just needs 'r' 'o' <tab> <enter> to run on xterm window Dangerous tool it is, but powerful in capable hands (keep security in mind when using this tool). Sources and armel debian package available at http://www.iki.fi/too/sw/maemo/rootsh/ Tested on 770 and N800, OS2006 and OS2007 Examples: $ rootsh $ rootsh id $ rootsh -a hello sh -c 'echo $0' ---- Tomi
- Previous message: apt-get; gstreamer-dev; "pkg-config has no installation candidate" -- addon
- Next message: Having problems getting build enviroment set up (Chinook)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]