Rationale

From: John Smith (netman1_at_home.nl)
Date: 11/30/03

  • Next message: Paul E Condon: "Re: Query"
    To: Debian User <debian-user@lists.debian.org>
    Date: Sun, 30 Nov 2003 23:01:35 +0100
    
    

    Hi All,

            checked google, asked this before on irc, didn't get a
    usable answer (can't find any use of /etc/login.defs).

            What is the rationale behind the PATH environment variable?
    Running woody I get

    /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

    as a normal user. As root I get

    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
    /usr/bin/X11

    Thinking security I would expect them the other way around.
    So /bin:/usr/bin:/usr/local/bin and /sbin:/bin:/usr/sbin:/usr/bin:
    /usr/local/sbin:/usr/local/bin
    Mind you: I do not want this changed, just explained.

    Anybody care to enlighten me ;-) ?

    Sincerely,

    Jan.

    "Did anybody know 2.6 is not cat proof?"

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Paul E Condon: "Re: Query"

    Relevant Pages

    • Re: user privledges
      ... > redhat 7.2 i created a user account for myself to use on a daily basis. ... > fare i have just been su - and entering the root pass. ... it started but would not install because i did ... sofware to /opt/musicmatch as a normal user. ...
      (comp.security.unix)
    • Re: jail() House Rock
      ... Think carefully about exactly what kind of privileges your clients get. ... normal user account on the main server, and root inside the jail. ...
      (FreeBSD-Security)
    • Re: [SLE] Firefox, fixed and broken again.... :-(
      ... >> through KDE as root but not as a normal user. ... But if it works for root, not for user, I ... I opened Firefox it opened fine. ... I then tried opening Firefox again - remember it ...
      (SuSE)
    • Re: GUI login screen.
      ... Well i think the best solution to get around this is to setup a normal user account... ... then edit the /etc/passwd file and set that person with root permissions so as soon as they login theyre automatically made root. ...
      (Debian-User)
    • Re: startx Fatal server error: Cannot open /dev/tty0
      ... > startx fails under your normal user login but starts normally under your ... the question become why root user ... can init the video device, ...
      (alt.os.linux.suse)