It partially depends on just what your purpose is in switching users. The easiest way is to su to the new id. I'm not really up on Linux, but on System V all one needed to do was: > su newUser password: and from then on, any commands that one issued would be with the permissions and id of newUser. If one does this at a text prompt, and then startx's, then one activates X window with the permissions of newUser. The drawback of this approach is that the startup script of newUser isn't executed, and the environment variables aren't reset, though you can execute it by hand. This is also the main advantage of the method. FWIW, this is basically what the su command normally does, but if you don't specify the name of the newUser, then it assumes that you mean root. P.S.: I've done a partial test of this, and have found out that if you are in as root, that it will not ask you for the password of newUser. But it does restrict the rights as described above. I haven't tested going from one normal user to another, however. Benjamin Sher wrote: > Dear Alan: > > Thanks so much for such a prompt response. > > The problem is that when I log out of KDE, I am faced with my $ user > prompt. My options are a) to su to root or to type startx. In other > words, how do I bring up the text "login" menu so I can type the user > name and password for user B. That's what I can't figure out. Would > appreciate your help. Or can this switch be done from WITHIN KDE itself? > > Thanks so much. > > Benjamin > > -- > Benjamin and Anna Sher > Sher's Russian Web > http://www.websher.net > [EMAIL PROTECTED] > > ---------------------------------------------------- > Keep in touch with http://mandrakeforum.com: > Subscribe the "[EMAIL PROTECTED]" mailing list. -- (c) Charles Hixson -- Addition of advertisements or hyperlinks to products specifically prohibited
begin:vcard n:Hixson;Charles x-mozilla-html:FALSE adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] fn:Charles Hixson end:vcard
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
