Re: Define "logged in as ROOT"

From: Bob Booth - CITES (booth_at_UIUC.EDU)
Date: 01/31/05

  • Next message: Rugen, Len: "Re: Define "logged in as ROOT""
    Date:         Mon, 31 Jan 2005 13:52:14 -0600
    To: aix-l@Princeton.EDU
    
    

    On Mon, Jan 31, 2005 at 12:56:01PM -0600, Rugen, Len wrote:
    > What does it REALLY mean....
    >
    > If I login as myself, then su to root (no -), is that good enough?

    You will have root privs, but not roots environment. Some operations may need
    special variables set, etc. If you use the '-' you will effectively become
    the real root user. su'ing to root without the '-' is useful for some quick
    root operations, such as changing ownerships, blowing away files... Not
    always good for running some application command scripts.

    bob


  • Next message: Rugen, Len: "Re: Define "logged in as ROOT""

    Relevant Pages

    • Re: DHCP error.
      ... |->You are running dhcpd as root, ... which has no root privs and it reads in rc.conf. ... So now I have to invoke the daemons properly with: ...
      (freebsd-isp)
    • Re: how to add a new root user on unix ?
      ... >> you might want to reconsider adding a new user with root privs. ... > the root password and dies or leaves town without giving out the root ... > is a root shell hidden in a user account somewhere, ...
      (comp.unix.questions)
    • Re: access root privileges through C program
      ... hatrorihan20.c(this case is not accuratery) etc. ... I agree that the English is rather confusing. ... You CANNOT use a C program to switch to root privs. ...
      (comp.os.linux.security)
    • Re: parent dir group owner can destroy r-x files?
      ... I discovered this when I created a prog requiring root privs, ... This shows a very good example of not logging on as root unless you ...
      (comp.security.unix)
    • Re: set effective user to root
      ... The utility reads and writes a file that is accessible only by root. ... with all the security problems that entails. ... would appear as a C++ library function that uses the same data file. ... Not without giving your other application root privs as well. ...
      (comp.os.linux.misc)