Re: Permissions 101
Quoting Bob Bernstein (poobah@ruptured-duck.com):
> I'm trying to understand the suid bit. So I created a little script to list
> a file that I don't as a normal user have permission to read, namely
> /var/log/user.log. Here's the data, starting with the permissions on
> user.log:
> Here's my little script "sutest", and its permissions, followed by the
> results of executing it:
You can't suid scripts. Period.
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: