SUMMARY: suid

From: Jacques Rall (jacques.rall@za.eds.com)
Date: Mon Jan 20 1997 - 00:18:54 CST


Original question:

Dear SMs,

How does the suid feature really work?

The acclaimed trick don't work on our system 2.5.1.

After:
        # cp /bin/sh /bin/sh.bak
        # chmod 4555 /bin/sh
        # su - testuser
        $ /bin/sh

I'm still 'testuser' with no addition permission.

Thanks

Answer:

The sh and csh does not support the suid facility; ksh does well support it.
Although:

        $ /tmp/ksh.suid
        # passwd root (or `su -`)
        
is still not possible.

Thanks to *



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:43 CDT