Skip to content

Commit

Permalink
Tweak default set of privileges to make it identical to Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
c4pp4 committed Jan 19, 2018
1 parent 1f889ac commit ab2e0a2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions unity-base/unity/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ AUX 70im-config 988 SHA256 99ee1ca745938084111e9b5903b3db4cf889327b74b45e25258c2
AUX 99ibus-service 405 SHA256 236e8a9212c63e10ccb212a3be5c2fc95ea47e3a2b934e806bda253cc5be560e SHA512 3c72a213c3f88441d2d50f930961e499346e2a64269ea2a49c7db5e8991e5950d85e350db566ddaf24bc39324212c34e73391899bd0de7ea0606b9505d113cb2 WHIRLPOOL 950e6ab402776aece13985ce86f8b6de85d6d1bcbd1e919e419c9a5369d366b53d2cb223eb0c6c29bf04fe5d7b0e2e81d97cb61edd630b8080328ff6e7b6cb5e
AUX 99unity-debug 501 SHA256 91e584a73c09f65b0d4d470d068f6ad19c356f7829d9c657d198db6a63103daa SHA512 d8291a806c9feb86ae3b608aa6c4017b715711d708b7366684ee792dcd3925a06d677c0f5c0c9f86cf596f0fdf2456e0c557b643ae63b18074026adb93db9f45 WHIRLPOOL 5178dba1d8a0b6351e90268234f09d486dfe1ddf19cb8cc3e3c779713aa4cae59e6a05f91e44ae29785506418d41c55a4bd2659ebe0e6a48f137ae2ecb386adf
AUX cof.png 4463 SHA256 94d742c8ed04faed5f29ea780353ca5fa7961d10106554ab804a214e24a0bb76 SHA512 65727db35e662a2dde2cdb34e5a6052092b443f865df8dac4f542f4540a31c8eaee742c632faece7509ff3515a402d06e29438c18de7ecc2db2264fb01ee70da WHIRLPOOL c07e221ad9eab93f444880ee02ab98f220cf5079c7064025bf0f75e79a98cbb166569eaea5a16be799321e53a4f1f53f67e05af595c5e08b7f1856aaebbf741a
AUX com.ubuntu.desktop.pkla 1554 SHA256 7419c546888852220400bcfe55e0327107cf0bcd4abb3158a716ca938c6f4a4d SHA512 8197f0bebf59f66d3178bfe45378a8290d3257e555f15d71631d70c77aad65fdfdc36f4f6dd3194fcf43021715b48dfaf0a146c2c48f03368463a9e3fedb6ad4 WHIRLPOOL 0f73cc58e361bf78a5b13cbe6c1982bda1258a013a8bdc3c88bb15c851470af016f37ead113ba09098179d79b5613d7f039a91f49e150d19166c00de7db1fff3
AUX com.ubuntu.desktop.pkla 1856 SHA256 69674cca8c2b9a22e4854c6e5865b73c767aad73d5b09ebfe9c8e1d50317d46c SHA512 3f246f3b24eb02b763b9e9a4abfd1bcfa633d69aede7b82736e16467fbd74cbdb31d34d8b30a5bf41658187f7d7052c6a6411a56deb64fc7fa1d45b48838d02d WHIRLPOOL ebc88d0f4954117527d81dbaa24cbf840c21499a0b40f3628a73b81d44b40efe891ca9a48606609968239171b9d3f1585eafc84501e35b283b8357e266fb1b8e
AUX ibus-daemon.desktop 183 SHA256 1f84705fd41d5845b485a35d9fc5cf15f547e4db8f058c62c31cf55d085c81ca SHA512 57f432aa314eccc9d310dbb08f4c8e29409c22575084ee9631bb8f108c8014ab16ff9969b8546502cfbd511d82902a51160d0f2391221011cf2a14a9d349ebe9 WHIRLPOOL 1af0003c54117a77da9eb283c054f2b5a55351122dd5ea0df9280c9cfb248cd28e9c203afbfcf40f807aca0e79ab0e931e4773bd1a6c01c2454003df4b089c19
AUX launcher_bfb.png 55190 SHA256 293b60c619c31cfdc7bfdc6eacb718adef747638589da7fcb11e9e1826d20665 SHA512 ccb760372757dafedfc1cab78052db90612ba7c918ff6a14112a19bbcc924e1abb0ee3dd0126c0086f70f60aefa4627d5d9b3a6573f9c6839305e09445c5757f WHIRLPOOL a3fe87b6a1b6a9f0dd1ddbc9822b72cf81e97681653e5812c3dc71def906dcd15e7ecae182875e9f256114639879acfaecb87854b6318d379547d2a9655d7caf
AUX systray-fix_saucy.diff 4470 SHA256 6004f53d67b5c7ab19186fb3df66d7c115472e200ee1b805028e0aff35cf8a76 SHA512 0fe8347fedced1e789fe1b8c8b444bd2b164ba945473efb3444ae59e68d588867ffe6c5fac5e2fb7423cecd91ec99653824ff9a27c2cec12f94dec965987b356 WHIRLPOOL 51ff096788c9af10344a2e9102f6fe74388b6b68decf86191bb7d41bbd1b8f1e1a7320aa25fc8d284f30764dd310b9ba369d8c257989b00975648876026644e2
Expand All @@ -13,5 +13,5 @@ AUX unity-7.5.0_fix-missing-vector-includes.diff 3887 SHA256 d07e55729b380f28336
AUX unity-panel-service.desktop 334 SHA256 aaa05dbae7e66c92936f5ebb535dd18feba256085ef7c5e664da11260a8b4425 SHA512 85f34c27864e6a1c1259b918d40ec96dae7f0cf18221663c8b2643d1c95ff49af0cf816d9494efc23180e9f8e340f33cbc3372dd3a37b346885b526bea71b0e9 WHIRLPOOL d33bcfed00e07398a9d5c18a67e3fbf4fc10f8a2569cd114621005c52b628a6f1b4cd504f44fd48deaff32bb75826be133482aa4321f63dcf7a9b53b50dea742
DIST unity_7.5.0+17.04.20170407.1-0ubuntu1.diff.gz 123062 SHA256 7dc64f86604bbfe1f42c5056fd7140084f15c23819d9c67b0059a0e76512f1d3 SHA512 d178f66baf97ebe5e8ea118bb43455506b666fc979ac8d92d3d8003e97c5c2396ae24cde71afb2f014cd6f4195039b1038570734ea34a8a60f5e606e04849e3c WHIRLPOOL f58938d53b38a2ce6fdad7776e4e911dbab8a4daa32633a82ca586ceb62cf0259777c251d22426e08b028e914c45efec6552ffc1e2292c378c868514dec41bf2
DIST unity_7.5.0+17.04.20170407.1.orig.tar.gz 2696543 SHA256 6893b0f23c1b59b237b1a5cce0c16c3c4d394842935e121ab18575906847b565 SHA512 bc84297d8e0b3f093df052e83833957953c7c674029971d8658765cfeebb36c0eb4499bf80d4cd2d62ee5c5e7748d46154f0dce548a0d6ac5545f84409f913a5 WHIRLPOOL 07202cdcedf6c756f6c71e8e6d65428c170e84db71d85bbe47f21d259cc20a2c7e096733303592e6381eaf0d5fcb0d0fa5b077c227bae5fe8cc28b6d46ebbaa5
EBUILD unity-7.5.0_p2017040701_p0_p01.ebuild 11318 SHA256 ce3d8d25bb702f8921f3d62ac2e3cfb181adadb6565f77e8b2d0c7afebabea22 SHA512 cb99ffe66ab93082f24110aa49396698a64ff24d9f9dc15c391cf18f482a67382647d7f5c2e3b2427e0b51e0eff013e7d9f7b51e58b42eacf612cf18bf17c71f WHIRLPOOL 5f47f8c5beafc95f252ef4d33ac938d315f81c22a5a11521659615b46cc6d04db014cfa00c559d852057d672618563e5c0c42d0df2b1b7da385775d027c8833f
EBUILD unity-7.5.0_p2017040701_p0_p01-r1.ebuild 11318 SHA256 ce3d8d25bb702f8921f3d62ac2e3cfb181adadb6565f77e8b2d0c7afebabea22 SHA512 cb99ffe66ab93082f24110aa49396698a64ff24d9f9dc15c391cf18f482a67382647d7f5c2e3b2427e0b51e0eff013e7d9f7b51e58b42eacf612cf18bf17c71f WHIRLPOOL 5f47f8c5beafc95f252ef4d33ac938d315f81c22a5a11521659615b46cc6d04db014cfa00c559d852057d672618563e5c0c42d0df2b1b7da385775d027c8833f
MISC metadata.xml 456 SHA256 f0f3244f06a71736c726e73465ca71eb87ee4d27a5f3debfdf5a0de717b97bec SHA512 a0359cc4b232eec66aa99b787b827174c0aadf7c5c4c32e6c5a71dabbec10113ba3eab55962875eec8270f70b2a9ea002fae7e95e82b0610498a9c2dcd085f01 WHIRLPOOL 97031b6b6684907aef26b99df5975535c523296072d08f700e33d0940e92ea5d678fd362bf053e236e3759a69f421f7730f8e2e8076570d71499ae779716d2dd
15 changes: 10 additions & 5 deletions unity-base/unity/files/com.ubuntu.desktop.pkla
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[Mounting, checking, etc. of internal drives]
Identity=unix-user:*
Identity=unix-group:wheel
Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart*;org.freedesktop.udisks2.filesystem-mount-system;org.freedesktop.udisks2.encrypted-unlock-system;org.freedesktop.udisks2.filesystem-fstab;
ResultActive=yes

[Change CPU Frequency scaling]
Identity=unix-user:*
Identity=unix-group:wheel
Action=org.gnome.cpufreqselector;org.mate.cpufreqselector
ResultActive=yes

[Setting the clock]
Identity=unix-user:*
Identity=unix-group:wheel
Action=org.gnome.clockapplet.mechanism.*;org.gnome.controlcenter.datetime.configure;org.kde.kcontrol.kcmclock.save;org.freedesktop.timedate1.set-time;org.freedesktop.timedate1.set-timezone;org.freedesktop.timedate1.set-local-rtc;org.freedesktop.timedate1.set-ntp;com.canonical.controlcenter.datetime.configure;org.mate.settingsdaemon.datetimemechanism.settime
ResultActive=yes

[Adding or changing system-wide NetworkManager connections]
Identity=unix-group:admin
Identity=unix-group:wheel
Action=org.freedesktop.NetworkManager.settings.modify.system
ResultActive=yes

[Printer administration]
Identity=unix-group:lpadmin;unix-group:admin
Identity=unix-group:lpadmin;unix-group:wheel
Action=org.opensuse.cupspkhelper.mechanism.*
ResultActive=yes

Expand All @@ -32,3 +32,8 @@ ResultActive=no
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=no

[Allow admins to set the hostname,locale,keyboard,date/time without prompting]
Identity=unix-group:wheel
Action=org.freedesktop.locale1.set-locale;org.freedesktop.locale1.set-keyboard;org.freedesktop.hostname1.set-static-hostname;org.freedesktop.hostname1.set-hostname
ResultActive=yes

0 comments on commit ab2e0a2

Please sign in to comment.