← Back to team overview

freenx-team team mailing list archive

Re: [Bug 388973] Re: Remote NX users can access locally connected removable media on the FreeNX server

 

Mmm...

 Let's say, the user that you create at the Ubuntu installation time, the
"administrator", which belongs to the admin, plugdev... groups, can access
this devices within a FreeNX session, the "normal" users added to use the
system don't.

:-D

2009/6/18 Marcelo Boveto Shima <marceloshima@xxxxxxxxx>

> Actually, this feature should be implemented via consolekit, udev and
> devicekit-disks.
> There are some work been done on consolekit's multi-seat branch.
>
> But until then, we have 3 options:
>  - Try to hack on hal to detect a nx session.
>  - Create a group for "remote users", deny this group to mount removable
> disks
>   and just allow a user from the "remote users" group to login.
>  - Just add a howto not allow a user to mount removable disks by changing
>   policykit policy and howto allow a admin user to mount removable disks.
>
> The policykit key is org.freedesktop.hal.storage.mount-removable.
>
> On Thu, Jun 18, 2009 at 6:25 PM, Thiago Camargo Martins Cordeiro <
> thiagocmartinsc@xxxxxxxxx> wrote:
>
> > That is nice!!
> >
> > 2009/6/18 Sebastian Urban <urbans84@xxxxxxxxx>
> >
> > >Some employed can put an USB CDROM in my computer there in the
> datacenter,
> >> for me through the FreeNX session access it...
> >>
> >> This could be implemented via a special option or PolicyKit.
> >>
> >> --
> >> Remote NX users can access locally connected removable media on the
> FreeNX
> >> server
> >> https://bugs.launchpad.net/bugs/388973
> >> You received this bug notification because you are a member of FreeNX
> >> Team, which is a direct subscriber.
> >>
> >> Status in FreeNX open source NX Server: New
> >>
> >> Bug description:
> >> Using latest packages from FreeNX PPA on Ubuntu Hardy.
> >>
> >> Steps to reproduce:
> >> 1. Make sure no user is logged in on FreeNX server host.
> >> 2. Connect to FreeNX server host via NX using session GNOME.
> >> 3. Insert USB storage device or a CDROM into the FreeNX server host.
> >>
> >> Result:
> >> The medium is mounted, assigned to the remotely logged in user and shown
> >> on his remote GNOME desktop via NX.
> >> If a different user logs in locally on the NX server he does not have
> >> permissions to access the medium.
> >>
> >> Expected result:
> >> The medium should not be mounted and the remote NX user should not be
> able
> >> to access it.
> >> If a user logs in locally on the NX server the medium should be mounted
> >> with his permissions and appear on his local GNOME desktop.
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~freenx-team<https://launchpad.net/%7Efreenx-team>
> <https://launchpad.net/%7Efreenx-team>
> >> Post to     : freenx-team@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~freenx-team<https://launchpad.net/%7Efreenx-team>
> <https://launchpad.net/%7Efreenx-team>
> >> More help   : https://help.launchpad.net/ListHelp
> >>
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~freenx-team<https://launchpad.net/%7Efreenx-team>
> <https://launchpad.net/%7Efreenx-team>
> > Post to     : freenx-team@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~freenx-team<https://launchpad.net/%7Efreenx-team>
> <https://launchpad.net/%7Efreenx-team>
> > More help   : https://help.launchpad.net/ListHelp
> >
> >
>
> --
> Remote NX users can access locally connected removable media on the FreeNX
> server
> https://bugs.launchpad.net/bugs/388973
> You received this bug notification because you are a member of FreeNX
> Team, which is a direct subscriber.
>
> Status in FreeNX open source NX Server: New
>
> Bug description:
> Using latest packages from FreeNX PPA on Ubuntu Hardy.
>
> Steps to reproduce:
> 1. Make sure no user is logged in on FreeNX server host.
> 2. Connect to FreeNX server host via NX using session GNOME.
> 3. Insert USB storage device or a CDROM into the FreeNX server host.
>
> Result:
> The medium is mounted, assigned to the remotely logged in user and shown on
> his remote GNOME desktop via NX.
> If a different user logs in locally on the NX server he does not have
> permissions to access the medium.
>
> Expected result:
> The medium should not be mounted and the remote NX user should not be able
> to access it.
> If a user logs in locally on the NX server the medium should be mounted
> with his permissions and appear on his local GNOME desktop.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~freenx-team<https://launchpad.net/%7Efreenx-team>
> Post to     : freenx-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~freenx-team<https://launchpad.net/%7Efreenx-team>
> More help   : https://help.launchpad.net/ListHelp
>

References