Re: nis : how to avoid user1 becoming user2 using local root ?

From: Frank Burkhardt (fbo2_at_gmx.net)
Date: 04/03/04

  • Next message: Frank Burkhardt: "Re: nis : how to avoid user1 becoming user2 using local root ?"
    Date: Sat, 3 Apr 2004 07:34:12 +0200
    To: focus-linux@securityfocus.com
    
    

    Hi,

    On Fri, Apr 02, 2004 at 11:34:27AM +0300, Toni Heinonen wrote:
    > > to everyone. The problem is the NFS-server trusting UIDs on remote
    > > computers.
    >
    > Yes, but by using LDAP you get a consistend UID space all over your
    > network, and user1 (1001) and user2 (1002) are the same users on each
    > machine. Yes, this is the solution to the NFS-server trusting UIDs, but it
    > also means you have to trust each computer.

    This is *not* the solution to the UID-trusting-problem. LDAP doesn't (and
    can't) prevent you from changing a UID on a client-machine where you have
    root-privileges. LDAP provides a mappig ( name <-> UID ) but it's unable to
    enforce a UID.

    From the server's point of view the UID is the user's
    credential - like a password. The great difference to a password: the UID
    needed to get a file is publicly known ( stat(file_you_want) ).

    > Or you might as well use winbind instead of LDAP and get the user
    > information from a domain.

    This is still no solution to the problem.

    Frank


  • Next message: Frank Burkhardt: "Re: nis : how to avoid user1 becoming user2 using local root ?"

    Relevant Pages

    • Re: LDAP Per domain
      ... also index the uidPosix attribute or it will be slooowwww. ... I currently have a server cluster configured to use ldap for auth. ... As long as the uid is unique across all domain (companyA in the above ...
      (comp.unix.solaris)
    • LDAP Authentication
      ... basic user authorization against a NON Microsoft V3 LDAP ... public bool authenticateUser(String uid, String pw) ... There is no such object on the server ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: LDAP Per domain
      ... I currently have a server cluster configured to use ldap for auth. ... Except that we want to allow multiple domain auth on our cluster. ... As long as the uid is unique across all domain (companyA in the above ... or two with the same uidNumber attribute ...
      (comp.unix.solaris)
    • Re: Systembenutzer (0-1000) aus LDAP
      ... kann man das lösen wenn die gleiche uid zb. 100 auf dem einem System ... Benutzer mysql und auf einem anderen dem Benutzer sshd gehört? ... Allerdings würde ich UID 0 nicht im LDAP haben wollen. ...
      (de.comp.os.unix.linux.misc)
    • LDAP per domain
      ... I currently have a server cluster configured to use ldap for auth. ... Except that we want to allow multiple domain auth on our cluster. ... But we want to allow user in different domain to have the same uid (not speaking of solaris uid (numeric one) which can easily be unique). ...
      (comp.sys.sun.admin)