[gentoo-user] suspend2 and /dev/ permissions

2005-08-07 Thread Kumar Golap
Hi All,

I am using suspend2 kernel 2.6.12-r4.

After coming out from hibernation my permissions on some /dev deivices
is lost, for e.g i have to be root to burn a CD or use my tv-card or i
have  to su and change the permissions on those devices...

Why is this happening...

Also is there a way in hibernate script or otherwise to restore the
/dev/ permissions and not lose them


Thanks

Kumar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] suspend2 and /dev/ permissions

2005-08-07 Thread Zac Medico

Kumar Golap wrote:

Hi All,

I am using suspend2 kernel 2.6.12-r4.

After coming out from hibernation my permissions on some /dev deivices
is lost, for e.g i have to be root to burn a CD or use my tv-card or i
have  to su and change the permissions on those devices...

Why is this happening...

Also is there a way in hibernate script or otherwise to restore the
/dev/ permissions and not lose them


Thanks

Kumar



If you have pam built with USE=pam_console then you can use pam_console_apply 
(see manpage) to apply permissions after resume.

Zac
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] suspend2 and /dev/ permissions

2005-08-07 Thread Kumar Golap
Thanks.
I did not have pam_console_apply..I reemerged pam with the newuse flag.
..works fine after i put it in the hibernate.conf file.

Kumar



On 8/7/05, Zac Medico [EMAIL PROTECTED] wrote:
 Kumar Golap wrote:
  Hi All,
 
  I am using suspend2 kernel 2.6.12-r4.
 
  After coming out from hibernation my permissions on some /dev deivices
  is lost, for e.g i have to be root to burn a CD or use my tv-card or i
  have  to su and change the permissions on those devices...
 
  Why is this happening...
 
  Also is there a way in hibernate script or otherwise to restore the
  /dev/ permissions and not lose them
 
 
  Thanks
 
  Kumar
 
 
 If you have pam built with USE=pam_console then you can use pam_console_apply 
 (see manpage) to apply permissions after resume.
 
 Zac
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list