calum.org:~#

Search results for work


Posts


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

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