Solved

How to set a program to suid?

Posted on 1997-03-17
1
185 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

770 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