SUDO....Question

From: iEqual (shonh@iequal.net)
Date: 01/08/02


From: "iEqual" <shonh@iequal.net>
To: <focus-linux@lists.securityfocus.com>
Date: Tue, 8 Jan 2002 12:01:53 +0900

Hello All.
i am a system engineer at a small venture company in Seoul Korea. We are
making back-up solution under windows, unix, and as well as linux operating
systems. Our solution under unix and linux operating system faced security
issues since our process runs with "root" privilege within a certain port. So, I
thought that I could use "sudo" to use only needed commands can be run by
a certain user. However, our programmers are developing our solution in C++
and I have no clue how to apply "sudo" to our solution. For example, in the
program, it does not use 'system("sudo cp /etc/* ./")' instead the program calls
for 'cp()' function. Is there any other way to use sudo???
I hope that you could give me little hint. ^^;

Sincerely,

Hans



Relevant Pages

  • Re: Unix assigning permissions to windows 2000/3 folders
    ... I have talked to other Unix ... information and then spawns another script that excutes a 'sudo' command. ... If all else fails - READ THE INSTRUCTIONS! ...
    (microsoft.public.windows.server.scripting)
  • RE: Unix Security
    ... I am the 99.999% UNIX administrator here. ... This is an audit point for us. ... z/OS UNIX does not have sudo. ...
    (bit.listserv.ibm-main)
  • Re: Unix assigning permissions to windows 2000/3 folders
    ... the appliation support person and see what we can come up with. ... "Mike Miller" wrote: ... I have talked to other Unix ... > information and then spawns another script that excutes a 'sudo' command. ...
    (microsoft.public.windows.server.scripting)
  • Re: cut and paste buffer Xterm - email
    ... You might want to look into sudo as well... ... In general ctrl-c means break, rather than copy in unix. ... Click and drag ...
    (alt.os.linux)