ubuntu-users Digest, Vol 54, Issue 174

Dan Corcaci dancorcaci at yahoo.com
Tue Feb 17 05:21:09 UTC 2009


OK  OK  OK  OK  OK  OK  card  sory

--- On Tue, 2/17/09, ubuntu-users-request at lists.ubuntu.com <ubuntu-users-request at lists.ubuntu.com> wrote:


From: ubuntu-users-request at lists.ubuntu.com <ubuntu-users-request at lists.ubuntu.com>
Subject: ubuntu-users Digest, Vol 54, Issue 174
To: ubuntu-users at lists.ubuntu.com
Date: Tuesday, February 17, 2009, 7:14 AM


Send ubuntu-users mailing list submissions to
    ubuntu-users at lists.ubuntu.com

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
or, via email, send a message with subject or body 'help' to
    ubuntu-users-request at lists.ubuntu.com

You can reach the person managing the list at
    ubuntu-users-owner at lists.ubuntu.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ubuntu-users digest..."


Today's Topics:

   1. Re: Run script on USB thumb drive connection (Dotan Cohen)
   2. Re: Run script on USB thumb drive connection (Nils Kassube)
   3. Re: Run script on USB thumb drive connection (Bill Moseley)
   4. flashplugin-nonfree installed but fails to display the video 
      (Jay Ridgley)
   5. Re: heads up, folks: random vnc (remote desktop) attempts
      (Chris Mohler)
   6. Re: heads up, folks: random vnc (remote desktop) attempts (H.S.)
   7. Re: Run script on USB thumb drive connection (Cameron Hutchison)
   8. Re: heads up, folks: random vnc (remote desktop) attempts
      (Norberto Bensa)
   9. Re: heads up, folks: random vnc (remote desktop) attempts (H.S.)
  10. WEP on wireless (scott)
  11. Re: Pidgin Question on Ubuntu 8.04 (Ashish Vijaywargiya)


----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Feb 2009 00:11:45 +0200
From: Dotan Cohen <dotancohen at gmail.com>
Subject: Re: Run script on USB thumb drive connection
To: "Ubuntu user technical support,    not for general discussions"
    <ubuntu-users at lists.ubuntu.com>
Message-ID:
    <880dece00902161411j4b2c1caaj3c8188b1805b69f5 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

2009/2/17 Bill Moseley <moseley at hank.org>:
> Hotplug, udev, hal, or gnome-volume-manger?
>
>
> When I plug in a USB drive a Nautilus window opens automatically.
> For a specific usb drive I instead want a script to run (to run
> rsync).
>
> I can add a udev rule:
>
> KERNEL=="sd?1", ATTRS{serial}=="SNDK4CC844257C401401", ACTION=="add", \
>       SYMLINK+="backup", \
>       RUN+="/home/bill/backup.sh"
>
> and that script will run, but it seems to happen before the drive is
> mounted.  I thought maybe I needed to work with gnome-volume-manger
> but that doesn't seem to be used in Intrepid.
>
> So, I'm a bit confused how the parts fit together.
>
> What I want is to have the drive mounted like it normally is, then run
> a script and then umount the drive.  And for a bonus pop-up a window
> to DISPLAY 0:0 saying the rsync was complete.
>
> Seems pretty basic.
>
> Anyone done this?
>

I've not tried it, but have the script wait a bit:
sleep 10

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?
?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-??-?-?
?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?
?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?-?
?-?-?-?-?-?-?

------------------------------

Message: 2
Date: Mon, 16 Feb 2009 23:47:32 +0100
From: Nils Kassube <kassube at gmx.net>
Subject: Re: Run script on USB thumb drive connection
To: ubuntu-users at lists.ubuntu.com
Message-ID: <200902162347.32457.kassube at gmx.net>
Content-Type: text/plain;  charset="utf-8"

Dotan Cohen wrote:
> 2009/2/17 Bill Moseley <moseley at hank.org>:
> > What I want is to have the drive mounted like it normally is, then
> > run a script and then umount the drive.  And for a bonus pop-up a
> > window to DISPLAY 0:0 saying the rsync was complete.
>
> I've not tried it, but have the script wait a bit:
> sleep 10

Or let the script mount the drive.


Nils



------------------------------

Message: 3
Date: Mon, 16 Feb 2009 14:52:15 -0800
From: Bill Moseley <moseley at hank.org>
Subject: Re: Run script on USB thumb drive connection
To: "Ubuntu user technical support,    not for general discussions"
    <ubuntu-users at lists.ubuntu.com>
Message-ID: <20090216225215.GB24909 at hank.org>
Content-Type: text/plain; charset=us-ascii

On Mon, Feb 16, 2009 at 11:47:32PM +0100, Nils Kassube wrote:
> Dotan Cohen wrote:
> > 2009/2/17 Bill Moseley <moseley at hank.org>:
> > > What I want is to have the drive mounted like it normally is, then
> > > run a script and then umount the drive.  And for a bonus pop-up a
> > > window to DISPLAY 0:0 saying the rsync was complete.
> >
> > I've not tried it, but have the script wait a bit:
> > sleep 10
> 
> Or let the script mount the drive.

That's what I'm doing and it works fine.  The Script is pretty
trivial, really.

It's still getting mounted by gnome (I assume) after the script runs.
That's the part I'm wondering about -- how to stop that from happening
for this specific thumb drive.

Thanks.

-- 
Bill Moseley
moseley at hank.org
Sent from my iMutt




------------------------------

Message: 4
Date: Mon, 16 Feb 2009 17:44:43 -0600
From: Jay Ridgley <jridgley2 at austin.rr.com>
Subject: flashplugin-nonfree installed but fails to display the video 
To: ubuntu-users at lists.ubuntu.com
Message-ID: <4999FA6B.6040608 at austin.rr.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Folks,

I have reinstalled the flashplugin-nonfree but it still fails to play 
the video, the sound does play however.

When I look at the installed plugins I also notice that there are 2 
versions of shockwave flash installed. However, there is no reference to 
flashplayer. How should it appear in the list?

Where do I go from here??

Cheers,
Jay

-- 


Jay Ridgley
jridgley2 at austin.rr.com
Registered Linux User ID - 9115
Registered Ubuntu User ID - 23320




------------------------------

Message: 5
Date: Tue, 17 Feb 2009 17:45:48 +1800
From: Chris Mohler <cr33dog at gmail.com>
Subject: Re: heads up, folks: random vnc (remote desktop) attempts
To: "Ubuntu user technical support,    not for general discussions"
    <ubuntu-users at lists.ubuntu.com>
Message-ID:
    <acfad57e0902161545h31b00774t119991e8b569204f at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Feb 17, 2009 at 4:09 PM, H.S. <hs.samix at gmail.com> wrote:
> Norberto Bensa wrote:
>> On Mon, Feb 16, 2009 at 7:55 PM, H.S. <hs.samix at gmail.com> wrote:
>>> So the remote user first has to expect to get the desktop, on the right
>>> OS (windows, mac, Linux), the right kernel and architecture and without
>>> the security updates to get into the system to fiddle with rootkits.
>>
>> Yeah. Pretty much 99.995% of the computers around the world. Scary eh? :-)
>>
>
> I was just thinking that the person has to be extremely suspicious if
> some slackness is found in VNC configuration on Windows than on, say, a
> FreeBSD or a GNU/Linux system.

A false sense of security there, IMO.  What's to prevent installing
some software in ~/.something/somewhere or /tmp/somewhere that's doing
<insert_something_dodgy_here>?  Maybe listening on certain ports,
scanning your LAN for other targets, sending spam, logging keystrokes,
etc.  Even without getting rooted, leaving VNC (or any other network
service) wide-open is a recipe for disaster - regardless of OS.

Chris



------------------------------

Message: 6
Date: Mon, 16 Feb 2009 19:23:31 -0500
From: "H.S." <hs.samix at gmail.com>
Subject: Re: heads up, folks: random vnc (remote desktop) attempts
To: ubuntu-users at lists.ubuntu.com
Message-ID: <gnd023$ebb$1 at ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1

Chris Mohler wrote:

> 
> A false sense of security there, IMO.  What's to prevent installing

Of course. I agree.

> some software in ~/.something/somewhere or /tmp/somewhere that's doing

BTW, on a related note, can't one take away execute permissions from
/tmp for added security?


> <insert_something_dodgy_here>?  Maybe listening on certain ports,
> scanning your LAN for other targets, sending spam, logging keystrokes,
> etc.  Even without getting rooted, leaving VNC (or any other network
> service) wide-open is a recipe for disaster - regardless of OS.

Yes, totally agree here too. I found this to be interesting:
http://episteme.arstechnica.com/eve/forums/a/tpc/f/469092836/m/264004244831


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.




------------------------------

Message: 7
Date: Tue, 17 Feb 2009 00:25:40 -0000
From: Cameron Hutchison <lists at xdna.net>
Subject: Re: Run script on USB thumb drive connection
To: ubuntu-users at lists.ubuntu.com
Message-ID: <66c1.499a0404.485b7 at getafix.xdna.net>

Bill Moseley <moseley at hank.org> writes:

>It's still getting mounted by gnome (I assume) after the script runs.
>That's the part I'm wondering about -- how to stop that from happening
>for this specific thumb drive.

I use the following to stop auto-mounting of my hot-swap backup hard
drives:

I have created the file /etc/hal/fdi/policy with the following contents:

Adjust the UUIDs for your case.

---8<---
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<!-- 
  System policy to not automount the backup disks.
-->
<deviceinfo version="0.2">

  <!-- Backup disc 1 - Seagate ST3160811AS 7200.9 160GB -->
  <device>
    <match key="volume.uuid" string="854a1d9e-916d-46af-9ba3-ae0fab3644ab">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
  </device>

  <!-- Backup disc 2 - Seagate ST3160811AS 7200.9 160GB -->
  <device>
    <match key="volume.uuid" string="cd630507-37dd-46e8-9bdd-33fdbd0edf42">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
  </device>

</deviceinfo>
---8<---





------------------------------

Message: 8
Date: Mon, 16 Feb 2009 22:40:35 -0200
From: Norberto Bensa <nbensa at gmail.com>
Subject: Re: heads up, folks: random vnc (remote desktop) attempts
To: "Ubuntu user technical support,    not for general discussions"
    <ubuntu-users at lists.ubuntu.com>
Message-ID:
    <84250c9c0902161640r70d16619if43021bd5ba1e9d8 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Feb 16, 2009 at 10:23 PM, H.S. <hs.samix at gmail.com> wrote:
> BTW, on a related note, can't one take away execute permissions from
> /tmp for added security?

You could make it a separate partition, and mount it noexec; /home
should also be noexec, nodev, nosuid. You should also mount /usr ro.
That said, you need a balance. You want a secured box or an usable
one?


> http://episteme.arstechnica.com/eve/forums/a/tpc/f/469092836/m/264004244831

Just don't run VNC or any other service if don't need it. And if you
do, please, secure it and monitor it.

Regards,
Norberto



------------------------------

Message: 9
Date: Mon, 16 Feb 2009 20:35:51 -0500
From: "H.S." <hs.samix at gmail.com>
Subject: Re: heads up, folks: random vnc (remote desktop) attempts
To: ubuntu-users at lists.ubuntu.com
Message-ID: <gnd49o$pa0$1 at ger.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1

Norberto Bensa wrote:
> On Mon, Feb 16, 2009 at 10:23 PM, H.S. <hs.samix at gmail.com> wrote:
>> BTW, on a related note, can't one take away execute permissions from
>> /tmp for added security?
> 
> You could make it a separate partition, and mount it noexec; /home

I seem to have some faint memory that /tmp is used by apt and needs to
be non-noexec. But I cannot recall for certain.


> should also be noexec, nodev, nosuid. You should also mount /usr ro.
> That said, you need a balance. You want a secured box or an usable
> one?
> 
> 
>> http://episteme.arstechnica.com/eve/forums/a/tpc/f/469092836/m/264004244831
> 
> Just don't run VNC or any other service if don't need it. And if you
> do, please, secure it and monitor it.

Sure. But how do monitor it? It (vino) doesn't appear to leave any logs
at all!




-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.




------------------------------

Message: 10
Date: Mon, 16 Feb 2009 21:21:55 -0500
From: scott <redhowlingwolves at nc.rr.com>
Subject: WEP on wireless
To: "Ubuntu user technical support,    not for general discussions"
    <ubuntu-users at lists.ubuntu.com>
Message-ID: <499A1F43.3030900 at nc.rr.com>
Content-Type: text/plain; charset=ISO-8859-1

I just got my old wireless -B card working and was wondering what
exactly I need to edit to get my WEP key working. I know WEP is next to
useless but at least it isn't wide open. Plus it's the only encryption
this card supports.

So until I get a new card, anyone know how to accomplish this? The card
is an old lynksys wpc11 ver.4. I'm also using wicd on 8.10. Gnome desktop.

Thanks in advance, Scott



------------------------------

Message: 11
Date: Tue, 17 Feb 2009 10:44:31 +0530
From: Ashish Vijaywargiya <vijaywargiya.ashish at gmail.com>
Subject: Re: Pidgin Question on Ubuntu 8.04
To: "Ubuntu user technical support,    not for general discussions"
    <ubuntu-users at lists.ubuntu.com>
Message-ID:
    <3c3933e40902162114x70ca7df5rd99674dd324b717e at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Thanks.

--
Ashish

On Mon, Feb 16, 2009 at 10:46 PM, NoOp <glgxg at sbcglobal.net> wrote:
> On 02/16/2009 02:24 AM, Ashish Vijaywargiya wrote:
>> Hello,
>>
>> I am using Pidgin 2.5.4 with Ubuntu 8.04.
>> Everything is working fine but on each new message it shows Yellow
>> Smiley Icon in the Gnome Panel and I am finding myself difficult to
>> see that.
>> Although in the Pidin 2.4.1 it was displaying Orange color in the
>> Gnome Panel and that's what I liked most.
>>
>> Can I do the same thing in the Pidgin 2.5.4 version ?
>> Any help would be greatly appreciated.
>>
>> --
>> Ashish
>>
>
> Tools|Preferences|Smiley Themes|None
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



------------------------------

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


End of ubuntu-users Digest, Vol 54, Issue 174
*********************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090216/4a96ee93/attachment.html>


More information about the ubuntu-users mailing list