Posts: 100
Threads: 17
Joined: Feb 2016
Reputation:
0
Anybody knows how to make sudo with tokens like the old arcade games. I have a little brother which wants sudo but I want it as a reward. Anybody knows how to make something like sudo tokens. Or at least a way to enable and disable sudo remotely.
Posts: 530
Threads: 26
Joined: Feb 2015
Reputation:
0
02-18-2016, 08:33 PM
(This post was last modified: 02-18-2016, 08:39 PM by avj.)
As someone who spends a lot of time customizing their system, I would strongly recommend against giving anyone else sudo rights on your system. Sudo allows a person to make changes including the ability to delete your data it gives root level access to whoever is using it. That being said I would recommend that if you want other users to be able to install software and make changes that you set them up a virtual machine with Linux Lite installed on it, in virtualbox this will keep them from harming your system. You can also backup the virtual machine in case it gets messed up. This will allow you to easily fix it if they make mistakes.
For more on virtualbox see the following link. If your hardware permits this is probably your best option.
https://www.freecinema2022.gq/manual/tutorials.html#vbox
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
Posts: 1,255
Threads: 21
Joined: Aug 2014
Reputation:
0
(02-21-2016, 06:20 PM)liamjake05 link Wrote:but is there a way?
Not remotely and not like game tokens when successful . You either edit /etc/sudoers as a administrator or not.
Now having said that. Anything is possible in Linux when one spends enough time hacking his system.
But that is a personal quest and I don't think someone will write you a
cron job with a monitor for rewards on little brothers box>ssh to notify you/admin of little brothers success story>
email you of success story so you can remote into little brothers box and edit /etc/sudoers
manually.
Although stranger things have happened I guess.
As far as I know. Admin rights are locked down till Admin personally allows rights to other users.
eg:
Code:
littlebrother ALL = NOPASSWD: /sbin/halt, /sbin/reboot
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Posts: 1,599
Threads: 86
Joined: Jun 2015
Reputation:
0
From a terminal, you type in the word man and the command you want to research. In your case, it would be:
If you don't know the full name of the command you want to research, you can start typing the first few letters and hit the tab bar twice afterwards. For example type "man su" and hit the tab bar twice.
Want to thank me? Click my [Thank] link.