How do you give a user access to an application or program
that needs to run as root without giving them the root
password?

Answers were Sorted based on User's Feedback



How do you give a user access to an application or program that needs to run as root without giving..

Answer / phani

Enter the username in /etc/sudoers file and do sava n quit

vi /etc/sudoers
username
:wq!

Is This Answer Correct ?    10 Yes 0 No

How do you give a user access to an application or program that needs to run as root without giving..

Answer / dhawal

use setuid flag

chmod o+s <filename>

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Solaris AllOther Interview Questions

What is critical filesystem in solaris

6 Answers  


what are soft links and hard links, and differentiate them.

2 Answers   Bank Of America,


If you try to send an e-mail to someone and the following message appear "Message Undeliverable", what could be wrong?

3 Answers   Wipro,


what r the files need to edit for DNS configuration..?

2 Answers   Accel,


where the NIS will be actually used (Situation)

1 Answers   IBM,


How do u know that,what patch can be applicable on the system?

1 Answers  


What is the difference between NFS version 2 and NFS version 3?

2 Answers   IBM,


I want to Know how many LUNs are in my Solaris10 server as well as NIC cards ?

7 Answers   Verizon,


How to brk the root pwd?

5 Answers  


hi to all,, i need few real time issues please provide me,, if you have any,,,

1 Answers   IBM, Tech Mahindra,


what are the various layouts that are available in VxVM?

3 Answers   IBM,


Difference between Console and terminal

3 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)