LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sudo as reward
#1
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.
Reply
#2
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
Reply
#3
Completely agree with avj!

If you can't prevent it, however, to give your little borther sudo rights, then at least restrict it to only the commands he really needs. Giving sudo access is luckily not an ALL or NONE decision, you can tweak/restrict it exactly to your needs. The man page is your friend Smile
Reply
#4
but is there a way?
Reply
#5
(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.
Reply
#6
Ok, I understand
Reply
#7
(02-18-2016, 09:14 PM)LL-user link Wrote:Completely agree with avj!

If you can't prevent it, however, to give your little borther sudo rights, then at least restrict it to only the commands he really needs. Giving sudo access is luckily not an ALL or NONE decision, you can tweak/restrict it exactly to your needs. The man page is your friend Smile

How do I use the man page
Reply
#8
From a terminal, you type in the word man and the command you want to research.  In your case, it would be:

Code:
man sudo

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)