Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!math.fu-berlin.de!fub!einoed!dobag.in-berlin.de!jac From: jac@dobag.in-berlin.de (Joerg Conradt) Newsgroups: comp.os.minix Subject: Re: Problems with "su" Keywords: su Message-ID: Date: 7 Apr 91 17:08:33 GMT References: Organization: Dobag Computer Systems Berlin Lines: 19 cs342a37@cs.iastate.edu (Class login) writes: >I have a question about su in Minix 1.5. I upgraded my Minix from 1.3 to 1.5 recently via the network upgrade kit. Since then, all is fine except su. It doesn't seem to let me login as root or anyone else. When I do a su from a user account and try to login as a super user, I can login. But when I run whoami, I get back my original username, not the root or whatever it was suppose to be. >Can anyone help? >Thanks hello- maybe that's cause the s-bit isn't set! You have to exec the following lines with logged in as root: chown root su chmod 4755 su This sets the s bit, which makes the user running the programm root! And you have to be root if you want to set your uid or giu to another. bye Joerg -- UUCP: jac@dobag.in-berlin.de | - The number of viewers watching you is Alias Joerg Conradt | proportional to the stupidity of your 1000 Berlin 41 Germany | action. ++ 0307958397 | - "Murphy was an optimist"