Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!mips!pacbell.com!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!phigate!philica!adrie From: adrie@philica.ica.philips.nl (Adrie Koolen) Newsgroups: comp.os.minix Subject: Re: su Message-ID: <791@philica.ica.philips.nl> Date: 12 Apr 91 11:22:24 GMT References: <50417@nigel.ee.udel.edu> Reply-To: adrie@beitel.ica.philips.nl (Adrie Koolen) Organization: Philips TDS, Innovation Centre Aachen Lines: 18 In article <50417@nigel.ee.udel.edu> d_flunkert@cen.jrc.it (dieter flunkert) writes: >Hey all, >I have a question concerning su. If I use su which is on my harddisk it works fine. >But if I use the copy I have on /tmp on the ram disk, it doesn't work. It askes >for the password, but after typing in the right one, I'm still not root. >Any ideas? su should be owned by root and should be setuid. Only a root process can change its user ID. So you should login as root, then copy su and set the setuid bit: # cp /usr/bin/su /tmp # chmod u+s /tmp/su Then it should work. Adrie Koolen (adrie@ica.philips.nl) Philips Innovation Centre Aachen