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 are the packages for DNS?

1 Answers   IBM,


how to check the status of import and deport dg?

2 Answers   Symphony,


What happened if vxconfigd is disabled?

1 Answers  


What does fmthard do?

9 Answers   Accel,


what is df -kh i/o error ?How to Troubleshoot ?

2 Answers   Siemens,






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

1 Answers  


What is an alternative to the ?top? command on Solaris?

4 Answers   HCL, Logos,


About ARP protocol?

3 Answers   IBM,


What is OBP and how do you access it?

2 Answers   3i Infotech,


how to know the creation time of users and creation time of zones in solaris

1 Answers  


In solaris we have two directories for commands,what are they, Is there any difference between those.

3 Answers  


how to make processor online and offline

6 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)