Solved

How to set a program to suid?

Posted on 1997-03-17
1
183 Views
Last Modified: 2013-12-15
I want to setup some application to run under superuser
privelage, how to do that?
0
Comment
Question by:yadong
1 Comment
 
LVL 3

Accepted Solution

by:
mwt earned 50 total points
ID: 1626996
1. You can chmod +s on the executable. When the program runs it
   will take on the user and group ids of the owner of the file.
2. Download ftp://ftp.cs.colorado.edu/pub/sysadmin.sudo which is
   a program that allows any program to be run suid. You can also
   use it to restrict users to certain programs.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now