I am working on Fedora 29 (64bit) and our company has a secure browser software where we provide standardized testing to millions of students across the USA. Right now we are stuck in a situation. Students log on to the Fedora laptop under the standard account. They should install the secure browser and then run it to start their testing.
Issue is: we can't seem to find a way to have students install the secure browser without adding the standard account to the sudoers file. We get an error each time we try to install the secure browser on the standard account -- something along the lines "this user is not added to the sudoers file".
So I learned that the only way to install any software under a standard account is to add the standard account into the sudoers file which in turn makes the account Admin. We are trying to avoid that and find a way to install any software without having the standard account being changed to an admin account. Is there a way to do that? When we try to install it while under the standard account and run the terminal and use SU and then use another account that has admin rights (like su admin), it installs the software under that user account, not the standard account. So it seems the only way to install any software, let alone the secure browser, is to elevate the standard account to admin, install the software, and then return it to standard. Is that the only way?
sodoersfile to allow the students to run exactly the command(s) necessary for the installation and nothing else.sudoyou can define precise command(s) sudo user can run, for example you can configure it to be able to run onlysudo yum install secutiry-browser