Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!caen!ox.com!math.fu-berlin.de!fub!dobag.in-berlin.de!cla From: cla@dobag.in-berlin.de (Christian Lampl) Newsgroups: comp.os.minix Subject: Re: su Message-ID: Date: 12 Apr 91 23:04:57 GMT References: <50417@nigel.ee.udel.edu> Organization: Dobag Computer Systems Berlin Lines: 50 jac@dobag.in-berlin.de (Joerg Conradt) writes: >cla@dobag.in-berlin.de (Christian Lampl) writes: >>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? >>>Dieter >>>Dieter Flunkert d_flunkert@cen.jrc.it >>Try : >>$ cd /tmp >>$ chmod 4755 su >>That must be all !!! >>Christian Lampl UUCP: cla@dobag.in-berlin.de >Oh no, Christian!!!!!! >Of course you first have to change dir. to /tmp and then exec the chmod >command! Though a correct way to make it work would be: I did it !!! > >cd /tmp >chmod 4755 su >exit >After this it will work. The chmod command sets the s-bit, which makes the >user running the su-command root, and you have to be root if you want to >change your userid or groupid! Otherwise every user could do so and there >is no bit of system-security!!! >Cheers Joerg That's true !! I forgot to write it down !! Sorry !! Bye Christian !!! -- cla@dobag.in-berlin.de |-An optimist believes we live in the best world | Christian Lampl | possible; a pessimist fears this is true !! | Berlin, Germany |-There are no bugs, only unrecognized features !! |