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

In solaris we have 2 directories for commands. what are they..? is there any difference b/w those..?

3 Answers  


How would you freeze a service group?

1 Answers  


how can u crete snapshot

1 Answers   HCL,


If you mistype a password, how do you clear it out to retype the password again?

11 Answers   Genpact, WNS,


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

2 Answers   IBM, Satyam, Tech Mahindra,






which is the fast SPARC or Intel ? and why?

3 Answers   IBM,


if u have given to install Solaris on Intel machine with more fast (70% to 80% compare to SPARC) then how can u install

1 Answers   Cap Gemini, IBM,


Suppose if u want to reconfigure the kernel then how ur going to do?

3 Answers  


please give detail procedure how do replace failed disk under control of SVM and VxVm

3 Answers   TCS,


how u can push the user details in NIS

2 Answers   IBM,


what is the 3rd field of /etc/inittab file..? what are the possible values of that field...?

1 Answers  


what is sc prompt in solaris? how can we get that sc prompt?

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