Skip to content

Commit

Permalink
Merge pull request #302 from teclator/execsu
Browse files Browse the repository at this point in the history
Use xdg-su in Exec for /sbin/yast2 calls (bsc#1028053)
  • Loading branch information
teclator committed Mar 7, 2017
2 parents bf5df9e + 121a89a commit 85f88f0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/yast2-registration.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 7 12:59:27 UTC 2017 - kanderssen@suse.com

- Adjusted .desktop files wrapping /sbin/yast2 calls that requires
root permisions with xdg-su (bsc#1028053).
- 3.2.4

-------------------------------------------------------------------
Tue Feb 14 10:00:41 UTC 2017 - igonzalezsosa@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-registration.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-registration
Version: 3.2.3
Version: 3.2.4
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/add_extensions.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ X-SuSE-YaST-RootOnly=yes
X-SuSE-YaST-Group=Software

Icon=yast-addon
Exec=/sbin/yast2 scc select_extensions
Exec=/usr/bin/xdg-su -c "/sbin/yast2 scc select_extensions"

Name=Add System Extensions or Modules
GenericName=Add System Extensions or Modules
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/customer_center.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ X-SuSE-YaST-AutoInstSchema=registration.rnc
X-SuSE-YaST-AutoInstResource=suse_register

Icon=yast-product-registration
Exec=/sbin/yast2 scc
Exec=/usr/bin/xdg-su -c "/sbin/yast2 scc"

Name=Product Registration
GenericName=Product Registration
Expand Down

0 comments on commit 85f88f0

Please sign in to comment.