calum.org:~#

Search results for internet


Posts


Nokia N95 - from a developer's point of view
Let a friend use your IP address to get access to a machine that you can access, but he can't
New Age terrorists develop homeopathic bomb
Teach a man to fish - humorous alternatives
Email blacklists
How to update your Nokia N80 to the N80 Internet Edition firmware
Amateur radio
Let's Encrypt
Offsite backup with iSCSI
Quick virtualisation guide

Comments


If you can send a SMS, you can share a secret key. Internet files are not trully random, so it is not OTP.
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') ?

To use or run other multiple internet applications as a non root or less privileged user, following can be done :

Create another user name "InternetApps", instead of "ff", in the way mentioned in the main article.

In this article (author 'Calum') & in user comment 3, replace the all word "ff" with "InternetApps".

List your other internet applications like this:

yourusername yourhostname=(InternetApps) NOPASSWD: /usr/bin/firefox, /usr/bin/xchat, /usr/bin/thunderbird

In my case i used 'root' as 'yourusername', and i used 'localhost' in place of 'yourhostname".

To run Firefox in centos, i used:

sudo -u InternetApps -H firefox &

To run thunderbird:

sudo -u InternetApps -H thunderbird &

... Now, enjoy safer websurfing & safer internet accessing.

This comment shared with you & submitted by Bry8Star.

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.