Windows Linux Tips: Allowing users to run root programs


twitter tips,twitter tricks,twitter tips and tricks,twitter latest updates,facebook tips and tricks,facebook tricks,facebook tips,Windows 7 Tips,Windows 7 tips and tricks,Windows 7 tips with staps,Windows XP Tips,Windows XP tips and tricks,Windows XP tips with staps

When a user starts a command, it runs with the permissions of that user. What if you want to allow them to
run some commands with root permissions? You can, and that's called suid.You can set a command to be suid root with the chmod command.

 This will make it run as root even if a userstarts it. Here is how to set mybin suid root:chmod +s mybinNote that you must be very careful with this option. If the command has any security hole, or allows the user
to access other files or programs, the user could take over the root account and the whole system.



"Windows Linux Tips: Allowing users to run root programs"



Reference: tipoftheweek.darkelf.net