calum.org:~#

Search results for work


Posts


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

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