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

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

3 Answers   Wipro,


how to freeze nodes in vcs?tell me step by step?

3 Answers   Mphasis,


Whats the difference between SVM and VxVM? What would you recommend to your clients? why?

2 Answers  


If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?

2 Answers   Satyam,


without keyboard detection is booting process continue or not?

3 Answers  


How will u give a write permission to user inthe group when all other users in that group have only read permission.?

1 Answers  


How RPC will work..?

1 Answers  


how to recover boot-block, if it it corrupted. and what happens to the os if it gets corruted.

3 Answers   Bank Of America,


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

2 Answers   Accel,


What is a Split brain scenario ?

2 Answers  


1.how to see global zone name residing in non global zone?

6 Answers   CSC,


what are the various layouts that are available in VxVM?

3 Answers   IBM,


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)