Ticket #2321 (new defect)

Opened 7 years ago

Last modified 7 years ago

any user can run wmiconfig -i eth0 --power maxperf

Reported by: lindi Owned by: openmoko-kernel
Priority: low Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:


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.

Change History

comment:1 Changed 7 years ago 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

comment:2 Changed 7 years ago 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?

Note: See TracTickets for help on using tickets.