Re: How to enable setuid scripts in Linux?
- From: chuckcar <chuck@xxxxxxx>
- Date: 29 Jun 2006 00:30:59 +0200
ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin) wrote in
news:slrnea5o24.p6m.ibuprofin@xxxxxxxxxxxxxxxxx:
On 28 Jun 2006, in the Usenet newsgroup comp.os.linux.setup, in
article <Xns97EFB827EFCB0chucknilcar@xxxxxxxxxxx>, chuckcar wrote:
bianying@xxxxxxxxx wrote
I am having trouble to port some scripts (written in ksh) from
Solaris to Linux, because Linux
disables setuid scripts on purpose
I guess you missed that part of the sentence.
You generally turn the group/user execute bit on along with chowning
it to that user/group.
which is great, but why don't you try that on a script. As the O/P
noted, the Linux kernel ignores SUID and SGID scripts.
If you don't know what chown and chmod are, then you are in over your
head and need to read the manual pages for both.
You may also need to do some reading, or at least try what you suggest
before posting it.
Old guy
Funny. I have created my own scripts changed the to execute and they
work fine. And not just as root either - I have one user called chuck -
groups users and another called games - group games the former has run
at least two scripts which I wrote owned by him and his group and set to
execute only by him. What was the point now?
--
(setq (chuck nil) car(chuck) )
.
- References:
- How to enable setuid scripts in Linux?
- From: bianying
- Re: How to enable setuid scripts in Linux?
- From: chuckcar
- Re: How to enable setuid scripts in Linux?
- From: Moe Trin
- How to enable setuid scripts in Linux?
- Prev by Date: Re: DNS - Primary / Secondary on one machine
- Next by Date: Re: How to enable setuid scripts in Linux?
- Previous by thread: Re: How to enable setuid scripts in Linux?
- Next by thread: Re: How to enable setuid scripts in Linux?
- Index(es):
Relevant Pages
|