calum.org:~#

Search results for us


Posts


J2ME functions that aren't included - but should be
Untrusted Java apps - and suspicious end users
Bristol graffiti
The digital radio scam
The meaning of life
HVR1110 working in Linux
Linux driver support
English weather
Security Threat Level
What's in a team?
15-today
I'm all slaved out
Nokia N95 - from a developer's point of view
HD TV
My first published photograph
Let a friend use your IP address to get access to a machine that you can access, but he can't
...among them women and children...
The wisdom of Slashdot sigs
How to run two instances of Tomcat on your machine
Diet
Google and censorship
Erlang
New site
Aaargh - more J2ME stupidity
Now with SSL goodness
Good Indian restaurants in Bristol
Spain 2010
A better round-robin DNS server
Database caching in Java
Argentina 2010
The 2011 VAT increase
Howto: Forward your SSH port
First thoughts about Android
Java Date Formatter
Journey efficiency
Breaking Bad
Britain needs a better anthem
Unusual carcinogens
Cookies
Radiation units
New Age terrorists develop homeopathic bomb
Foglights
Oymyakon - the coldest permanently inhabited place in the world
Why did no-one tell me about... Maven?!
Operators and Things
To Have or To Be
Speed limits
SELinux tips
Apache vs nginx?
Software patents
US debt - $7 trillion, and counting.
Political Compass
iRiver IFP 899 and Linux
Do as I say...
Talk Like a Pirate! Arrr!
Suddenly, the commute takes longer
Morality test
Running out of IPv4 address space?
Teach a man to fish - humorous alternatives
Useful French phrases
Empanadas de carpincho
Iran makes plans to sell oil in Euros
Thoughts on digital copyright
Linux and multimedia
SELECT get_months('2001-01-01 08:55:10', '2004-03-13 13:41:33');
French monkey spies
Jesus saves, but Buddha makes incremental backups
Save Parliament
CentOS
Mass medication
I could care less
Drugs
Bird flu
Channel 5 - turn the volume up!
Direct action works?
Death wishes?
The Da Vinci Code film
What really did happen on 9/11?
Postfix Antispam
Encoding with ffmpeg for the Nokia N80
Email blacklists
A pale blue dot
Peep Show
How to update your Nokia N80 to the N80 Internet Edition firmware
rm strcpy
Public transport in the UK
The Wikipedia Game
Running Firefox as another user, using sudo
Stream your CD collection to work
Amazon's bad move
Root to bind ports under 1024?
Amateur radio
Talking with spacemen
Buying a Linux laptop - without paying the Microsoft Tax
Acer TravelMate 5720 4GB running Linux
Carrots help you see in the dark
New York, 2010
Russian sayings
On-demand streaming audio server
IPv6
HOWTO: Linux and iSCSI
[Solved] Random hangs on HP EliteBook 8530W in Linux
Death of a hard drive
Java logging
mischiefmatch.com
Monitoring PermGen usage
Thailand 2012
Table football
When things go wrong on Linux
Exposing a soundcard on a KVM host to a guest
Cricket
F1
WARNING: These drives may corrupt large files AND THIS FIRMWARE VERSION IS AFFECTED
Plunkett and Macleane
Peer's certificate has an invalid signature. (solved)
jconsole remote connections
One time pads
Video games
Enjoyable development
PFS in Firefox
systemd
Backup your LUKS header and LVM config
UK voting system
Safe browsing
Compiling gqrx on CentOS
Amateur radio satellite pass API
Let's Encrypt
Offsite backup with iSCSI
Improving the battery life of Android phones
Quick virtualisation guide
Linux and the Kenwood TS 590SG
Inefficient parking
Live Amateur Radio contacts
Plus symbols in email addresses
UK Taps
TV series to watch
Qubes
Data are plural
In Our Time
Gaming in the cloud
2020 laptop
Missing the point of SPF
Driving on the left
The 2019 Cricket World Cup final
Sky Broadband blocking Signal Messenger pictures
Reverse firewall
Recommended hardware
Playing with software defined networking

Comments


Thanks much. This is clean and clear. Most posts like this have a long list of arguments about what if. Frankly I don't care to read what if when I just want to do it. What if is another subject. Or what if I don't care about if's right now.

Thanks you one again,


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') ?

I think it's part of the pack mentality thing that most humans have. The reason's why he picked Liverpool aren't really important, but the fact he now supports them and belongs to the Liverpool "family" are what matters. At a more extreme level, you get football supporters "proving" what dedicated fans they are by going to as many games as possible - thus proving how valuable they are to the "family"
They are encrypted in a vague attempt to prevent people playing them on whichever players they want. It's not to prevent piracy - a pirate can just make a bit-for-bit copy (including encryption), and it's exactly the same. It's purely to stop people playing DVDs on players that haven't been "authorised". http://en.wikipedia.org/wiki/DeCSS
Give a man a fish and he will eat for a day. Give a man a rifle and he will say "Screw the damn sushi, I'm having steak tonight"
yeah i was curious lol



what is this site?

I was curious about the sight too, but to my disappointment the sight does not exist


ha ha - yep curious


Remove the adds! I can't even see the article title because of them =) (Matt)
And using my back button? Really? =)
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.

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
Hey, I can see my house from up here!
Ceuta and Melilla people decided by themselves to be part of Spain. Gibraltar was just conquered.
Give a woman a fish and you'll feed her for a day. Teach a woman to fish, she'll refuse to learn, nag "You never bring me fish anymore" and when you explain why, she'll tell you she never really liked fish anyway.
I'll trust your calculations - but 0.5g of salt is what's in a slice of bread or packet of crisps, so it's not that much really. I actually thought it would be a lot higher until I contacted them.
I know that videos, music, or ISOs aren't random. See the asterisk at the end of the post.
Of course, there'll always be some mail servers that don't follow the RFCs properly.

Checking the logs, I noticed the following:

Sep 26 03:11:47 hosting postfix/smtpd[19263]: connect from mail7.exchange.microsoft.com[131.107.1.27]
Sep 26 03:11:49 hosting postfix/smtpd[19263]: NOQUEUE: reject: RCPT from mail7.exchange.microsoft.com[131.107.1.27]: 450 4.7.1 <df-gwy-07.exchange.corp.microsoft.com>: Helo command rejected: Host not found; from=<a.user@exchange.microsoft.com> to=<a.user@a.domain> proto=ESMTP helo=<df-gwy-07.exchange.corp.microsoft.com>
Sep 26 03:11:49 hosting postfix/smtpd[19263]: disconnect from mail7.exchange.microsoft.com[131.107.1.27]

Now, according to the SMTP RFC (http://www.ietf.org/rfc/rfc2821.txt):

The domain name given in the EHLO command MUST BE either a primary
host name (a domain name that resolves to an A RR) or, if the host
has no name, an address literal as described in section 4.1.1.1.

So why isn't there a DNS entry for df-gwy-07.exchange.corp.microsoft.com?

Anyway, to allow these broken setups to skip the "reject_unknown_hostname" in "smtpd_helo_restrictions", (as I don't want to disable it - it catches 95% of the spam) - you need to do the following:
* In main.cf, add parent_domain_matches_subdomains = yes
* In the smtpd_helo_restrictions section, add "check_helo_access hash:/etc/postfix/helo_access"
* In that helo_access file, list the offending "HELO/EHLOs" - in this case:

.exchange.corp.microsoft.com OK

* Finally, run postmap /etc/postfix/helo_access to build the DB file, and restart postfix.

It does appear to be a problem more with some mail server admins than others. (https://www.nearlyfreespeech.net/about/email.php#software)

Here is a slightly old but still useful presentation from Ohio LinuxFest 2004 about dealing with spam in Postfix. http://www.potentialtech.com/wmoran/spam.pdf
i think this is completely justified! stealing booze - hanging's too good for em!!!
I'm thinking of protesting "The Omen 666," because according to the bible, that's fiction too.
Also "Cars." That's animated. Totally fiction.

Give a man a fish, and you feed him for a day. Teach a man to fish, and you lose a steady customer.
Give Sandusky a child and he'll diddle for a day, give Sandusky a youth football camp and he'll diddle for a lifetime.
Thanks, found that very useful but as a very Linux newbie, if i wanted to encode to mp3 instead of ogg, what app could I use to do that and what would the command line be (see, I said I was a newbie :-)
Thanks
Joe

Give a man a fish and you've fed him for a day; teach him how to fish and you've fed him for a lifetime; teach a man how to do something new on a computer and he'll be bugging you next month how to do it because he forgot. He's got no incentive to remember it, like staving off starvation. So don't ask me how to do that thing you want to do in Excel until you've fasted for 3 days!
Sell a man oregano and you have a customer for a day. Sell a man heroin and you have a customer for a lifetime.
Teach a man how to fish,and you ruin a potential business.
I like the idea to put the backup on /boot. I'll be adding /etc/fstab and the key files I use for other partitions. Obviously, I'll encrypt the file for safety.
Teach a man to fish, explain it hundreds of times, then a few more times,and he will become president of the USA and swear that he's never been taught to fish.
Please help me. I am really struggling to copy my header to an external drive.

I can't move the file because it is locked. How do I extract my header to save elsewhere?

Maybe xhost SI:localuser:ff && sudo -u ff firefox is better?
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