From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,345c9fcf5a67a99f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-26 02:52:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: SuSE, Raid (was: Microsoft takes on ACT) Date: Sun, 26 May 2002 09:52:23 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <4519e058.0205230724.38617c60@posting.google.com> <9ff447f2.0205231909.40170d61@posting.google.com> <7nqH8.2777$GB4.388478@news6-win.server.ntlworld.com> <%9sH8.3292$GB4.495005@news6-win.server.ntlworld.com> <1nVH8.6358$Uk6.904598@news6-win.server.ntlworld.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1022406743 16817 129.241.83.82 (26 May 2002 09:52:23 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sun, 26 May 2002 09:52:23 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:24824 Date: 2002-05-26T09:52:23+00:00 List-Id: On Sun, 26 May 2002 00:45:48 +0100, chris.danx wrote: > > > what is 'su'? Typing a line in for the above mentioned install script, > gives a password prompt with 'su' (seems to be the root password, the user > password failed and brain was off!), but with 'sh' it gives the above error. > Why is that? Is 'su' an elevated 'sh'? If so that might be the problem > with the install script. On Windows 9X, ME, XP there is not such a clear distinction between root (administrator) and the user. In Unix and Linux one have a super user called root which has access to all files. You should never use this account for your normal business. I mean you must create a user called say chris and you log in as chris on your computer and run the applications you want. You must not do this logged in as root. The reason is that if you do something stupid like trying to delete /usr when you are logged in as chris you will get an Access Denied, as root it will be done and you cannot undo it. But every time you need to install, update or remove some software you need to do this as root. So to become root you type in a shell: su and then give the root password. when you have done the updating you type exit (or hit Ctrl+d) and you close the root session. http://derisilab.ucsf.edu/UCSFLinuxSecurity.html -- "Jeg tror nordmenn har glemt hvordan de tilbreder fisk. De er mest opptatt av firkantet fisk." -- Kristian Kristiansen, yrkesfisker, aftenposten.no 19/04/02