Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Look out! Some seem to have an almost religious respect for “root”. To even speak of such things can get you kicked from IRC or possibly banned. It happened to me 5 mins after my first boot into Linux. It’s almost a flame troll. I know there is a way but damn if I know how. I have searched usenet and found some stuff but the threads usually turn to flames. Here is what I found
This is not exactly the way you asked this question in the programming forum, but here is the answer that I posted there.
To enable an "ordinary" user to run a program as root, that program must be owned by root and have suid permission set. Login as root and use the "chown" command to change the ownership of the program to root and then use the "chmod" command to set suid permission (chmod +s program-name). Now any user can execute this program and it will run with root as the user id. Now figure out when you want to run the program. The simplest solution to running a program at login would be to add the execution of the program to your login script in /etc/profile or whatever shell profile file you use.
what's there to get? it's ripped of of salmondays.tv, some online computing sitcom type thingy. the sample avi's are quite funny, one where the office paperclip is standing next to this guy just goin "it's looks like you want to write a letter!" again and again until he mangles the clip to death... guess you had to be there...