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 zone configuration file?

2 Answers   IBM,


How to set a passord without expiration?

5 Answers   HCL,


What is the difference between failing and failed disks?

3 Answers   IBM, Sascon, Sun Microsystems,


software distribution in solaris

4 Answers   IBM,


How to configure llt and gab in VCS tell me step by step?

1 Answers   Mphasis,


What is the zone in DNS?

0 Answers  


Difference between secure copy and remote copy

1 Answers  


where the NIS will be actually used (Situation)

1 Answers   IBM,


what are the deamons for nis server,nis slave,nis client

2 Answers   IBM, Satyam, Tech Mahindra,


what is the main difference between windows , unix ,linux, operating syatems? And why the companies in the industry prefer to use solaris os ? why may be the reason?

1 Answers  


How to add a patch on multiple servers(400) at a time.

1 Answers   Verizon,


how to share a directory with nfs server and how client mount the nfs share

3 Answers   IBM, Wipro,


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)