yhsieh@cadence.cadence.com (Tommy Hsieh) (07/13/90)
I have a question about login procedure. Is there any difference between login as root and login as a normal user (a user from yellow page). I found a strange thing happened on one of our machines. If I login as root, it gives me the prompt right after the /etc/motd message. But if I login as normal user, it gives me the /etc/motd message and then I have to wait one or two minutes to get the prompt. I have home directory on that machine and all the machines are running yp. The machine which has problem is a sparc station. Any idea ? Thanks in advance. ==================================================================== I Tommy Hsieh I Cadence Design System, Inc. I I (408) 987-5285 I 3393 Octavius Drive I I I Santa Clara, CA 95054-3082 I I mail address : I I yhsieh@cadence.com I I ...!{versatc,apollo,ucbcad,uunet}!cadence!yhsieh I ====================================================================
james@dlss2.UUCP (James Cummings) (07/13/90)
In article <1990Jul12.223945.20137@cadence.com> yhsieh@cadence.cadence.com (Tommy Hsieh) writes: > > I have a question about login procedure. Is there any difference between >login as root and login as a normal user (a user from yellow page). > Yes/no > I found a strange thing happened on one of our machines. If I login as >root, it gives me the prompt right after the /etc/motd message. But if I >login as normal user, it gives me the /etc/motd message and then I have >to wait one or two minutes to get the prompt. What's going on in your .profile (or .login) that's not happening in root's? -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ |Disclaimer: | James Cummings | | You can't blame me! | UUCP: | | I'm ignorant! | ..swblat!{texbell!texnet.. | |+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+| swgate!dlss1..}!dlss2!james | |Send flames to: | NET: | | sowc@devnull.com | jc@smunews | | | | =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
kseshadr@quasar.intel.com (Kishore Seshadri) (07/13/90)
In article <1990Jul12.223945.20137@cadence.com>, yhsieh@cadence (Tommy Hsieh) writes: > > I have a question about login procedure. Is there any difference between >login as root and login as a normal user (a user from yellow page). > > I found a strange thing happened on one of our machines. If I login as >root, it gives me the prompt right after the /etc/motd message. But if I >login as normal user, it gives me the /etc/motd message and then I have to wait >one or two minutes to get the prompt. I have home directory on that machine >and all the machines are running yp. The machine which has problem is a sparc >station. Any idea ? Thanks in advance. When you say, you have a home directory on that machine, do you mean that it is physically on the local disk or just that it is file served? It's possible that your home directory is on an auto-mounted file system. Kishore Seshadri kishore@mipos3.intel.com =============================================================================== Kishore Seshadri (Speaking only for myself) Intel Corp., Santa Clara, CA CSNET: kseshadr@mipos3.intel.com ARPA: kseshadr%mipos3.intel.com@relay.cs.net UUCP:{amdcad,decwrl,hplabs,oliveb,pur-ee,qantel}!intelca!mipos3!kseshadr
doctor1@cbnewse.att.com (patrick.b.hailey) (07/14/90)
>In article <1990Jul12.223945.20137@cadence.com> yhsieh@cadence.cadence.com (Tommy Hsieh) writes: > I found a strange thing happened on one of our machines. If I login as >root, it gives me the prompt right after the /etc/motd message. But if I >login as normal user, it gives me the /etc/motd message and then I have >to wait one or two minutes to get the prompt. Does the machine mount remote filesystems? I've seen some of our Suns do this. If machine A mounts a fs from machine B, and then looses contact with B, it 'backgrounds' the mounting tries. The machine behaves pretty normally, except it takes *forever* to get your prompt after logging in. If you go to the console and log in as root, however, all seems normal. The 'df' command also waits a long time before timing out. Thanks awfully, Patrick
rowe@cme.nist.gov (Walter Rowe) (07/15/90)
>>>>> On 12 Jul 90 22:39:45 GMT, yhsieh@cadence.cadence.com (Tommy Hsieh) said: |> If I login as root, it gives me the prompt right after the |> /etc/motd message. If I login as normal user, it gives me the |> /etc/motd message and then I have to wait one or two minutes ... Are you running quota's ? If you are, my guess is that root doesn't have one and you do, and that the system is checking your quota when you log in. Root would log in much faster since there is not quota to check. wpr --- Walter P. Rowe ARPA: rowe@cme.nist.gov System Administrator, Robot Systems Division UUCP: ...!cme-durer!rowe National Institute of Standards and Technology LIVE: (301) 975-3694
det@hawkmoon.MN.ORG (Derek E. Terveer) (07/24/90)
In article <ROWE.90Jul14164731@doc.cme.nist.gov> rowe@cme.nist.gov (Walter Rowe) writes: > >>>>> On 12 Jul 90 22:39:45 GMT, yhsieh@cadence.cadence.com (Tommy Hsieh) said: > > |> If I login as root, it gives me the prompt right after the > |> /etc/motd message. If I login as normal user, it gives me the > |> /etc/motd message and then I have to wait one or two minutes ... > > Are you running quota's ? If you are, my guess is that root doesn't > have one and you do, and that the system is checking your quota when > you log in. Root would log in much faster since there is not quota to > check. (I don't think that this question belongs in the wizards group; followups to comp.unix.questions) Yes, you are probably correct. In the /etc/profile (on System V systems, for example) there is generally a big difference in the processing done for a root user vs. a non-root user. -- Derek Terveer det@hawkmoon.MN.ORG
mwc@raybed2.msd.ray.com (MICHAEL CATTELL) (07/25/90)
In <1990Jul14.052731.20850@cbnewse.att.com> doctor1@cbnewse.att.com (patrick.b.hailey) writes: >>In article <1990Jul12.223945.20137@cadence.com> yhsieh@cadence.cadence.com (Tommy Hsieh) writes: >> I found a strange thing happened on one of our machines. If I login as >>root, it gives me the prompt right after the /etc/motd message. But if I >>login as normal user, it gives me the /etc/motd message and then I have >>to wait one or two minutes to get the prompt. Chances are "root" does not have a very complex .cshrc and you do. The more things you do in your .cshrc e.g. aliases the longer it will take "to get your prompt back". Even when you "su" it will still go through your .cshrc Mike