Hi,
#! scripts can not run as suid.
Regards,
krasko
Hinko Kocevar wrote:
Hi,
I'm trying to touch a file in /sbin during boot time
and would like to do that with a normal user by running
SUIDed shell script.
I have following script:
hin...@alala /tmp $ cat test.sh
#!/bin/sh
touch /sbin/foo.
Hi,
I'm trying to touch a file in /sbin during boot time
and would like to do that with a normal user by running
SUIDed shell script.
I have following script:
hin...@alala /tmp $ cat test.sh
#!/bin/sh
touch /sbin/foo.bar
exit $?
hin...@alala /tmp $ sudo chmod +x test.sh
hin...@alala /tmp $ sud
On Tue, 2006-02-28 at 03:20 -0600, Zac Slade wrote:
> On Tuesday 28 February 2006 00:56, Ow Mun Heng wrote:
> > Hi All,
> >
> > I'm having some issues with enabling programs to be suid root. Stuffs
> > like /bin/mount /usr/bin/mount.cifs is already in mode 47xx and I still
> > get errors that I
Ow Mun Heng wrote:
or do I need to chgrp /bin/mount into group-owned by disk/wheel?
Yes you do, and for /bin/mount, it already should be 4755 root:root.
SUID bit makes the program to be executed in the rights the owner of it,
so if you want to have a program run SUID root you will have to c
On Tuesday 28 February 2006 00:56, Ow Mun Heng wrote:
> Hi All,
>
> I'm having some issues with enabling programs to be suid root. Stuffs
> like /bin/mount /usr/bin/mount.cifs is already in mode 47xx and I still
> get errors that I have no permissions to execute it (to mount)
If the mount poi
5 matches
Mail list logo