Solved

How to set a program to suid?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

948 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

22 Experts available now in Live!

Get 1:1 Help Now