On Monday 11 August 2003 12:59, Jason Stubbs wrote:
> On Monday 11 August 2003 12:48, Timothy Grant wrote:
> > I want to make the ThinkPad Buttons utility work on my Thinkpad, but it
> > tells me that I don't have access to /dev/nvram.
> >
> > I've looked at the configuration file, but am not sure exactly what
> > changes to make to give my users access to /dev/nvram.
> >
> > Tips gladly accepted.
>
> I've found that if I change the permissions or add symlinks in /dev, the
> changes seem to be preserved over reboot. It's probably not a good idea to
> give all your users access to /dev/nvram though. Wouldn't a "cat /dev/null
> > /dev/nvram" kill your BIOS? or at least your BIOS config? Perhaps set up
> a new group for the ThinkPad utility and then just chown root:<new group>
> /dev/nvram. Then reboot to confirm that it is preserved.
>
I just checked this to confirm. Have a look at the man pages for devfsd.conf 
and then devfsd to find out the details. Basically /etc/devfsd.conf comes 
preconfigured to save and restore device permissions. If you want to force it 
you can add a line such as;

REGISTER                nvram   PERMISSIONS -1.users    0660

The device name is processed as a regular expression which I know absolutely 
nothing about. I think however that the above would match any device with 
nvram in it's name.

Jason


--
[EMAIL PROTECTED] mailing list

Reply via email to