Openmoko Bug #2321: any user can run wmiconfig -i eth0 --power maxperf

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Openmoko Bug #2321: any user can run wmiconfig -i eth0 --power maxperf

Openmoko Public Trac
#2321: any user can run wmiconfig -i eth0 --power maxperf
-----------------------------+----------------------------------------------
 Reporter:  lindi            |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  low              |      Milestone:                
Component:  System Software  |        Version:  unspecified    
 Severity:  normal           |       Keywords:                
 Haspatch:  0                |      Blockedby:                
Estimated:                   |    Patchreview:                
 Blocking:                   |   Reproducible:                
-----------------------------+----------------------------------------------
 I think

 wmiconfig -i eth0 --power maxperf

 should only work as root but it seems to have an effect even if I run it
 as a normal user.

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2321>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Reply | Threaded
Open this post in threaded view
|

Re: Openmoko Bug #2321: any user can run wmiconfig -i eth0 --power maxperf

Openmoko Public Trac
#2321: any user can run wmiconfig -i eth0 --power maxperf
-----------------------------+----------------------------------------------
 Reporter:  lindi            |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  low              |      Milestone:                
Component:  System Software  |        Version:  unspecified    
 Severity:  normal           |       Keywords:                
 Haspatch:  0                |      Blockedby:                
Estimated:                   |    Patchreview:                
 Blocking:                   |   Reproducible:                
-----------------------------+----------------------------------------------

Comment(by joerg):

 hmm, are there any specs saying it mustn't be changed by non-privileged
 users?
 Privileges needed for configuration of WiFi is a controversial subject

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2321#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
Reply | Threaded
Open this post in threaded view
|

Re: Openmoko Bug #2321: any user can run wmiconfig -i eth0 --power maxperf

Openmoko Public Trac
In reply to this post by Openmoko Public Trac
#2321: any user can run wmiconfig -i eth0 --power maxperf
-----------------------------+----------------------------------------------
 Reporter:  lindi            |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  low              |      Milestone:                
Component:  System Software  |        Version:  unspecified    
 Severity:  normal           |       Keywords:                
 Haspatch:  0                |      Blockedby:                
Estimated:                   |    Patchreview:                
 Blocking:                   |   Reproducible:                
-----------------------------+----------------------------------------------

Comment(by lindi):

 Simple principle of least surprise. You need root privileges to set ESSID,
 I was surprised I could modify other parameters are a regular user. Are
 there any other wlan drivers that allow this?

--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2321#comment:2>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac