View Single Post
  #1   (View Single Post)  
Old 15th September 2009
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Default Permissions for zzz / acpiconf

I switched my laptop back to FreeBSD 7.2-release (after having switched from 6.2-release to kubuntu [which k-blew]). There is only one thing that 6.2-release did that 7.2-release doesn't do that I miss at all -

In 6.2-release, I was able to configure for any local user to execute the 'zzz' command to sleep the system. This does not work anymore; now I have to sudo zzz instead.

If I run zzz I get:
Code:
> zzz
acpiconf: request sleep type (3) failed: Operation not permitted
So I checked the permissions on zzz:
Code:
> ls -ltd /usr/sbin/zzz
-r-xr-xr-x  1 root  wheel  1327 May  1 02:56 /usr/sbin/zzz
I also checked the permissions on acpiconf:
Code:
> ls -ltd /usr/sbin/acpiconf
-r-xr-xr-x  1 root  wheel  6132 May  1 02:56 /usr/sbin/acpiconf
I am in group wheel, as well.
What do I need to change so that I can run zzz as a logged in user without sudo?
Reply With Quote