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

u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?

3 Answers   IBM,


what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?

0 Answers  


what are the software groups in solaries?please explain them?

1 Answers  


What are the packages for DNS?

1 Answers   IBM,


How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever

1 Answers   IBM,






how to install solaris and windows on a single harddisk ie dual booting

1 Answers  


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

2 Answers   IBM,


benifits of SMF over LRC

1 Answers  


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 configure llt and gab in VCS tell me step by step?

1 Answers   Mphasis,


how to add a disk group in veritas from one system to another system?

2 Answers   TCS,


what is the disadvantage of 'tar' command?

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)