[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SUID command




On Tue, 10 Aug 1999, Tim Grossner wrote:
> How do i set a binary/file to run as SUID root?

chown root.root /bin/ary
chmod o+s /bin/ary

The harder to remeber way is to use the number 4 to set UID status (or 2 for
sgid) in front of the more common three digits, such as

chmod 4755 /bin/ary

to give suid status, owner rwx, group and other rx permissions.

--Danny, saying far more than neccesary


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.