Re: [Cooker] perms on /dev/rtc device

2003-09-07 Thread danny
On Sat, 6 Sep 2003, Frederic Crozat wrote: Yeah, I saw that but I don't think it is related to /dev/rtc.. tvtime is probably trying to nice itself to real-time, which is only permitted for root. Anyway, it still works great and latest version has now a menu.. I think we will soon be able to

Re: [Cooker] perms on /dev/rtc device

2003-09-07 Thread Olivier Blin
I'm not sure if it is a security risk or not.. Let's first try the safest solution :) mplayer works perfeclty, but there is still a problem with tvtime I get this error from mplayer : Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied Try adding echo 1024

Re: [Cooker] perms on /dev/rtc device

2003-09-07 Thread Guillaume Rousse
Ainsi parlait Olivier Blin : What perms need to be tweaked to allow this iotcl ? Not a perm problem. Just add the following in your /etc/sysctl.conf: # RTC resolution dev.rtc.max-user-freq = 1024 Could this setting be added in default sysctl.conf ? -- Guillaume Rousse Scattered light never

Re: [Cooker] perms on /dev/rtc device

2003-09-07 Thread Olivier Blin
# RTC resolution dev.rtc.max-user-freq = 1024 Could this setting be added in default sysctl.conf ? Thanks, but shouldn't this be the default in default security level ? RTC works fine, but sysctl.conf need to be tweaked. IMHO, the user shouldn't have to do that. -- Olivier Blin

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Frederic Crozat
Le Sat, 06 Sep 2003 03:28:38 +0200, Guillaume Rousse a écrit : Ainsi parlait Frederic Crozat : On Mon, 25 Aug 2003 12:14:34 +0200, Jan Ciger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederic Crozat wrote: | console privilege != console user... | console privilege means

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Laurent Culioli
Le Samedi 6 Septembre 2003 12:14, Frederic Crozat a écrit : I think we will soon be able to replace xawtv with tvtime as the default TV app :) [+] i agree ! -- Laurent Culioli :: [EMAIL PROTECTED]

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Laurent Culioli
Le Samedi 6 Septembre 2003 12:14, Frederic Crozat a écrit : Yeah, I saw that but I don't think it is related to /dev/rtc.. tvtime is probably trying to nice itself to real-time, which is only permitted for root. Anyway, it still works great and latest version has now a menu.. I think we will

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Han Boetes
Laurent Culioli [EMAIL PROTECTED] wrote: Le Samedi 6 Septembre 2003 12:14, Frederic Crozat a écrit : Yeah, I saw that but I don't think it is related to /dev/rtc.. tvtime is probably trying to nice itself to real-time, which is only permitted for root. Anyway, it still works great and

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Laurent Culioli
Le Samedi 6 Septembre 2003 13:55, Han Boetes a écrit : That's too much. You don't give an app root permissions when it needs real time priority, you give it real time priority. IE make a wrapper. Do you mean a wrapper with kdesu/console-helper/... like rpmdrake ? -- Laurent Culioli :: [EMAIL

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Guillaume Rousse
Ainsi parlait Han Boetes : Laurent Culioli [EMAIL PROTECTED] wrote: Le Samedi 6 Septembre 2003 12:14, Frederic Crozat a écrit : Yeah, I saw that but I don't think it is related to /dev/rtc.. tvtime is probably trying to nice itself to real-time, which is only permitted for root.

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Luca Berra
On Sat, Sep 06, 2003 at 01:54:47PM +0159, Han Boetes wrote: device ) , what do you tink to segid video tvtime like cdrecord ? like this : root.video rws r-s r-x ? That's too much. You don't give an app root permissions when it needs real time priority, you give it real time priority. IE make a

Re: [Cooker] perms on /dev/rtc device

2003-09-06 Thread Han Boetes
Luca Berra [EMAIL PROTECTED] wrote: On Sat, Sep 06, 2003 at 01:54:47PM +0159, Han Boetes wrote: device ) , what do you tink to segid video tvtime like cdrecord ? like this : root.video rws r-s r-x ? That's too much. You don't give an app root permissions when it needs real time

Re: [Cooker] perms on /dev/rtc device

2003-09-05 Thread Guillaume Rousse
Ainsi parlait Frederic Crozat : On Mon, 25 Aug 2003 12:14:34 +0200, Jan Ciger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederic Crozat wrote: | console privilege != console user... | console privilege means this user is connected physically on the | system, either by

Re: [Cooker] perms on /dev/rtc device

2003-08-25 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederic Crozat wrote: |I guess some pam configuration could dynamically turn these perms for the |user, as for the audio devices. | | | Good idea, I was wondering the same thing yesterday.. I'll see with Fred | Lepied if we can add console privilege

Re: [Cooker] perms on /dev/rtc device

2003-08-25 Thread Frederic Crozat
Le Sun, 24 Aug 2003 21:47:00 +0200, Jan Ciger a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederic Crozat wrote: |I guess some pam configuration could dynamically turn these perms for the |user, as for the audio devices. | | | Good idea, I was wondering the same thing

Re: [Cooker] perms on /dev/rtc device

2003-08-25 Thread Steffen Barszus
Am Sonntag, 24. August 2003 21:47 schrieb Jan Ciger: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederic Crozat wrote: |I guess some pam configuration could dynamically turn these perms | for the user, as for the audio devices. | | Good idea, I was wondering the same thing yesterday..

Re: [Cooker] perms on /dev/rtc device

2003-08-25 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederic Crozat wrote: | console privilege != console user... | console privilege means this user is connected physically on the system, | either by using a text console or a graphical console (gdm/kdm). Yes, that was what I meant (via pam_console). Is

Re: [Cooker] perms on /dev/rtc device

2003-08-25 Thread Frederic Crozat
On Mon, 25 Aug 2003 12:14:34 +0200, Jan Ciger wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frederic Crozat wrote: | console privilege != console user... | console privilege means this user is connected physically on the system, | either by using a text console or a graphical

Re: [Cooker] perms on /dev/rtc device

2003-08-25 Thread Luca Olivetti
Frederic Crozat wrote: console privilege != console user... console privilege means this user is connected physically on the system, either by using a text console or a graphical console (gdm/kdm). That leaves out users connecting from x terminals. Bad. OTOH this is a case not easily solvable

Re: [Cooker] perms on /dev/rtc device

2003-08-24 Thread Frederic Crozat
Le Sun, 24 Aug 2003 20:31:40 +0200, Guillaume Rousse a écrit : Several multimedia applications use /dev/rtc, such as tvtime and mplayer. However, standard perms on this device doesn't allow its use: [EMAIL PROTECTED] linux]# ll /dev/misc/rtc crw-r-1 root root 10, 135 jan 1

[Cooker] perms on /dev/rtc device

2003-08-24 Thread Guillaume Rousse
Several multimedia applications use /dev/rtc, such as tvtime and mplayer. However, standard perms on this device doesn't allow its use: [EMAIL PROTECTED] linux]# ll /dev/misc/rtc crw-r-1 root root 10, 135 jan 1 1970 /dev/misc/rtc I guess some pam configuration could dynamically