calum.org:~#

Search results for work


Posts


Qubes
Russian sayings
Enjoyable development
Stream your CD collection to work
One time pads
Gaming in the cloud
Safe browsing
Wifi doesn't mean Internet
Nokia N95 - from a developer's point of view
Apache vs nginx?
Acer TravelMate 5720 4GB running Linux
Diet
YouFibre
That Mitchell and Webb Sound
Nasty code
Playing with software defined networking
Linux driver support
New site
A better round-robin DNS server
Howto: Forward your SSH port
Cookies
Recording Real Audio streams in Linux
Linux and multimedia
The Da Vinci Code film
Postfix Antispam
How to update your Nokia N80 to the N80 Internet Edition firmware
Root to bind ports under 1024?
Exposing a soundcard on a KVM host to a guest
Cricket
Downloading Scala
Recommended hardware
s3fs
Amateur radio
Buying a Linux laptop - without paying the Microsoft Tax
Empanadas de carpincho
New York, 2010
Morality test
On-demand streaming audio server
[Solved] Random hangs on HP EliteBook 8530W in Linux
Thailand 2012
Table football
When things go wrong on Linux
15-today
Security Threat Level
Suddenly, the commute takes longer
Journey efficiency
Erlang
Compiling gqrx on CentOS
Let's Encrypt
Offsite backup with iSCSI
HVR1110 working in Linux
Quick virtualisation guide
How to run two instances of Tomcat on your machine
Let a friend use your IP address to get access to a machine that you can access, but he can't
Asus Zenfone 8 - Waiting for flashing full ramdump...
YouFibre IPv6
Save Parliament
J2ME functions that aren't included - but should be
2020 laptop
Network namespaces
The Wikipedia Game
Running Firefox as another user, using sudo
Iran makes plans to sell oil in Euros
Amazon's bad move
Debian upgrades

Comments


in centos, worked. Thanks. from root user's gnome-desktop's terminal window, i had to do this: sudo -u ff -H xhost 127.0.0.1 sudo -u ff -H firefox how can i run firefox, xchat, etc multiple internet applications by using a same non root username (for example, username: 'InternetApps') ?
Give a man a fish; you have fed him for today. Teach a man to fish, and he will never come back to church. (works in Africa)
Nice. Not as safe as "chrooting" firefox but should work.
"xhost 127.0.0.1" or "xhost localhost" didn't work for me on Debian stable (lenny). "xhost local:" did.
I copied the "/usr/bin/firefox" script, then renamed that(copy) to "/usr/bin/firefox-InternetApps". Using the visudo, add this '/usr/bin/firefox-InternetApps' into the NOPASSWD line. If someone wants to further modify the 'firefox-InternetApps' script, then they can do so. Now create a Firefox Profile inside firefox for 'InternetApps' user : sudo -u InternetApps -H firefox-InternetApps -profilemanager -no-remote & A window will appear, to allow you to add new Profile(s), create 'InternetApps'. Start firefox & then exit from it. Now following command will start firefox & take us inside the 'InternetApps' profile : sudo -u InternetApps -H firefox-InternetApps -p InternetApps -no-remote & I copied the "/usr/bin/firefox" script (not a link) file, then renamed that (copied) file to "firefox-ia", open "firefox-ia" with a text editor, keep only the top two lines, delete all other lines, then add our commandline, it should look like this: #!/bin/sh # sudo -u InternetApps -H firefox-InternetApps -p InternetApps -no-remote & # end of file Then simply type : "firefox-ia" , (without the quote symbols,) to run firefox (under a non root user and with a different firefox profile). ... This process worked on centos 5.6 firefox 3.6.17. ~ Bry8Star.
try using kdesu instead of su, it'll work without any of the other hacks, plus allowing anyone on 127.1 to connect to X isnt secure
wow...the second works fine!!! How do i call the method, say i already have "double Weight" computed and need to be aproximated to two decimal places and it appears in different functions...
Teach a man to fish and he will quit work.
Teach your wife to work and fish. Then you can sit on the river bank drink beer and watch her catch the big one.
Teach a man to fish and he will buy up all the places to fish depriving his fellow fishermen the opportunity to fish for themselves, unless you go to work for them. (Walmart)
You don't need sudo rights and you don't have to edit sudoers file to archieve this now. (Maybe this is easier in 2020. I tried in ~2012 to make this work, but without succes) Now you need to add this line to "ff":s .bashrc export DISPLAY=:0.0 and run as your normal user this: xhost +local: then just write: su ff and then when you have a terminal as ff, you can start firefox or any other program, by: firefox