Open GUI with non-admin users

Asked by Augusto M. Garrucho

Can I open timekpr-gui with non-admin users? I would like to give access to settings (time config and limits) for other users on my system, but they have no privileges, are "regular users"...

Question information

Language:
English Edit question
Status:
Solved
For:
timekpr Edit question
Assignee:
No assignee Edit question
Solved by:
Savvas Radevic
Solved:
Last query:
Last reply:
Revision history for this message
Best Savvas Radevic (medigeek) said :
#1

> I would like to give access to settings (time config and limits) for other users on my system, but they have no privileges

I think you can give special sudo privileges (i.e. only run
/usr/bin/timekpr-gui with administrative privileges) to a specific
user. Maybe these links will help:
http://www.go2linux.org/sudoers-how-to
https://help.ubuntu.com/community/Sudoers

Please read the two links above, they are really helpful in solving
your problem. :) To edit the /etc/sudoers file use these commands in
terminal:

export EDITOR="nano"
sudo visudo

After you are done editing, you can close it by pressing CTRL + X
together (and then press "Y" to confirm).
Also, you would have to log out and log back in to gain the new privileges.

An example line would be (NOT TESTED!):

myuser ALL= /usr/bin/timekpr-gui, /usr/bin/timekpr

Revision history for this message
Augusto M. Garrucho (augustogarrucho-gmail) said :
#2

Excellent! Thank you!

It worked! I thought of a solution like this ... I was just lazy and think a little more he would achieve. LOL
Now, timekpr is a perfect solution. Very tnks! =D

*(translated by Google Translator, maybe the spelling is ridiculous)