williey
Technical User
- Jan 21, 2004
- 242
There is a program which runs only under root. I want to allow another group or user permission to execute the program. My ultimate goal is to let certain users execute the program under sudo.
For now, I'm getting "Permission denied" error when using a test account. This account is part of the Peri group and other is the secondary group. The /opt/vps/bin is owned by root and is under the group root.
What is the most restrict way to set this up to allow the test account access the program? I did not install the program so I do not know why its installed under root.
------------------------------------------
There are 10 kinds of people in this world. One that understands binary and the other one that does not.
For now, I'm getting "Permission denied" error when using a test account. This account is part of the Peri group and other is the secondary group. The /opt/vps/bin is owned by root and is under the group root.
What is the most restrict way to set this up to allow the test account access the program? I did not install the program so I do not know why its installed under root.
Code:
testPi@slovii1 {8} which tappman
/opt/vps/bin/tappman
testPi@slovii1 {9} /opt/vps/bin/tappman -c#mps.1 -p72 stop
tappman: Permission denied. Aborting!
testPi@slovii1 {11} ls -l /opt/vps/bin/tappman
72 -rwxrwxr-x 1 root other 36356 Aug 24 2005 /opt/vps/bin/tappman*
testPi@slovii1 {12} ls -l /opt/vps/bin/tappman
72 -rwxrwxr-x 1 root other 36356 Aug 24 2005 /opt/vps/bin/tappman*
testPi@slovii1 {13}
Code:
testPi@slovii1 {15} getent group |more
root::0:bindvwrt
other::1:root,testPi
peri::100:
beoper::101:root
ivrsup::500:testPi
------------------------------------------
There are 10 kinds of people in this world. One that understands binary and the other one that does not.