May 27, 2024, 08:02:07 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Delegation of user  (Read 3413 times)

Offline Narayan

  • New Member
  • Posts: 1
Delegation of user
« on: April 29, 2010, 12:06:05 PM »
Hi All,
           Please advice how to delegate particular task  to the user ? Is it "sudo" or something else in RHEL5.

Offline luck.anshu

  • New Member
  • Posts: 3
Re: Delegation of user
« Reply #1 on: May 07, 2010, 02:15:44 PM »
If you want to execute root user's command from normal user then you can use sudo command,
open /etc/sudoers and add an entry for user, to whom you want to give access to execute command.

Offline Avin

  • Linux Learner
  • ***
  • Posts: 54
  • L!nuX
Re: Delegation of user
« Reply #2 on: May 11, 2010, 10:16:13 AM »
Yes.. Using sudo you can do it on Redhat as well.   for any binary (specific command) you can set Sticky bit (SUID).  :)

Offline sergiodbe

  • New Member
  • Posts: 1
Re: Delegation of user
« Reply #3 on: May 12, 2010, 04:57:56 AM »
you can also put a user inside an already internal group and set the appropriate uid:gid's and permissions (aka 775) to the services or apps you want to delegate. =)