Skip to content

Conversation

nikolaszimmermann
Copy link
Member

No description provided.

// Allow specific user to use sysprof without authentication
polkit.addRule(function(action, subject) {
if (action.id == "org.gnome.sysprof3.profile" &&
subject.user == "USERNAME") {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use a variable expansion here like the following.

cat <<EOF
Hello, $USERNAME.
EOF

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do that too, ok. Will adapt tomorrow.

Copy link

@GeorgesStavracas GeorgesStavracas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than the variable expansion comment

@nikolaszimmermann nikolaszimmermann force-pushed the nzimmermann/document_sysprof_usage branch from 322f13f to 314fe3f Compare September 24, 2025 11:00
@nikolaszimmermann nikolaszimmermann merged commit fbf6f38 into main Sep 24, 2025
@nikolaszimmermann nikolaszimmermann deleted the nzimmermann/document_sysprof_usage branch September 24, 2025 11:01
@nikolaszimmermann
Copy link
Member Author

Done, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants