[openbeos] Re: Sudo not the best but better than nothing

  • From: "François Revol" <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 04 Jun 2007 17:27:29 +0200 CEST

> gksudo is the gnome graphical sudo. But it has issues with how it 
> woks
> (more like su) and a different and incompatible command line 
> structure. 
> 
> What follows is a bash sell exert that runs a command with gui or cli
>  sudo. Arguments are handled incompatibly by sudo and gksudo and so
>  can't be provided.
> 

* "which" in BeOS might not work correctly (alias to a shell func). 
That can be fixed by providing a binary.

* this won't handle telnet/ssh sessions correctly: one should be asked 
the pass on the tty, not the gui.

François.

Other related posts: