Can a normal user somehow execute a root-owned script?
From: Mark (g_i_f_f_o_at_hotmail.com)
Date: 07/16/03
- Next message: Chris Cox: "Re: useradd: ERROR: xxx is already in use."
- Previous message: Zoran Cutura: "Re: Executing code inside "#if 0""
- Next in thread: Geezer From The Freezer: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Geezer From The Freezer: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Axel Neumann: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Gary Armstrong: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Barry Margolin: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Anthony Mandic: "Re: Can a normal user somehow execute a root-owned script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 16 Jul 2003 09:21:05 -0700
Hi all,
We have a system which uses Solaris and NIS at the moment over about
20 local sites.
I'm looking for a way in which a developer can update his application
which is currently distributed onto a server on one of several
locations. His app used to be served from his own machine on the
network but because of bandwidth issues it's now been moved onto the
servers on local locations. This app gets amended and updated fairly
often, which was no problem when it was on his own machine where he
has root access. But now obviously this user can't have the sort of
access rights needed to log on to all of the local servers and update
the newer version of his application, and this is the problem.
I did have a few ideas, but I'm hitting a a few brick walls.
I thought the developer could fire off an email to a dummy user, which
through /mail/aliases (e.g. dummyuser "| script") would execute a
script that is supposed to take the newer version from the guys
machine and then distribute it to the other on-location servers,
probably through the use of our trusted host. The problem is the
script seems to be executed by daemon, and so if the script is
root-owned it simply won't get executed.
It's not really possible for me to use the cronjob to check if a
version on a central machine has been updated then have it distribute
it to the other sites' servers because the app really needs to be
updated in realtime. All the versions of the app need to be the same
for all sites.
Is it possible for a root-owned script to be executed somehow (through
whatever mechanism) by a normal user. How the script does the fetching
and distributing is not a massive problem if it's run by root after
all.
Sorry if I've left any essential background information out, I suspect
I might've since this question was composed in a bit of a hurry! Any
ideas would be very much appreciated. Feel free to cc any suggestions
to my email address because I might not be able to check the newsgroup
the next few days.
Many thanks,
Mark
- Next message: Chris Cox: "Re: useradd: ERROR: xxx is already in use."
- Previous message: Zoran Cutura: "Re: Executing code inside "#if 0""
- Next in thread: Geezer From The Freezer: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Geezer From The Freezer: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Axel Neumann: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Gary Armstrong: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Barry Margolin: "Re: Can a normal user somehow execute a root-owned script?"
- Reply: Anthony Mandic: "Re: Can a normal user somehow execute a root-owned script?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|