[Asterisk-Users] MozPhone

Tzafrir Cohen tzafrir at cohens.org.il
Wed Mar 2 13:10:15 MST 2005


On Wed, Mar 02, 2005 at 02:57:08PM -0500, skamp wrote:
> On Wed, 2005-03-02 at 14:52 -0500, skamp wrote:
> > Thats kinda lame who uses their machine and runs apps as root....
> > uggggghhh, can i install it as root and run it later as the user ?

Many extensions have an install-time option to install in the user's
profile. This allows you to install in a place you can write to.

>
> even worse i cant login to my window manager being KDE as root :) it
> doesnt permit root logins :) here we go.

On RH, Mandrake and Fedora (that have pam_xauth): 

  su -c firefox -

On Debian and SuSE:

  sux -c firefox -


Everywhere:

  su -c "DISPLAY=$DISPLAY XAUTHORITY=$HOME/Xauthority firefox" -

Or, the bad old way:

  xhost + localhost
  su -
  # in the su shell:
  DISPLAY=:0 firefox

-- 
Tzafrir Cohen         | New signature for new address and  |  VIM is
http://tzafrir.org.il | new homepage                       | a Mutt's  
tzafrir at cohens.org.il |                                    |  best
ICQ# 16849755         | Space reserved for other protocols | friend



More information about the asterisk-users mailing list