![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| root privileges | madmat | UNIX for Dummies Questions & Answers | 4 | 04-16-2008 06:00 AM |
| How to find the time a filesystem was mounted without using root privileges | neuralninja | UNIX for Advanced & Expert Users | 1 | 04-07-2008 07:07 AM |
| How to find the time a filesystem was mounted without using root privileges | neuralninja | Filesystems, Disks and Memory | 1 | 04-04-2008 01:38 PM |
| sshd (openssh) on SunOS without root privileges | sayeo | SUN Solaris | 10 | 03-14-2008 10:12 AM |
| Root privileges &Sudoer | blue_7 | UNIX for Dummies Questions & Answers | 2 | 06-09-2004 04:05 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
root privileges
Hi
I have make a program that needs root privleges but any user can try to run it, so what I want it is, when any user tries( other than root ) to run the program, an input prompt would open to enter root password ( if user knows ) and program will run ( otherwise exit ), and after completing the task the user returns in its originol state. So how should I manage it in C or C++. Plz Help. thanks & regards. |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|