Re: (newbie) Question about core linux security

From: Jim Richardson (warlock_at_eskimo.com)
Date: 02/11/04

  • Next message: Lew Pitcher: "Re: (newbie) Question about core linux security"
    Date: Wed, 11 Feb 2004 01:41:34 -0800
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On 10 Feb 2004 20:54:19 -0800,
     Sam Joharay <public_viewer@indiatimes.com> wrote:
    > Hi,
    >
    > A friend of mine pointed this out to me
    > (which I believe must be common knowledge
    > though I'm kinda surprised by it):
    >
    > Claim: If you have physical access to a linux
    > machine, you can gain root access. Furthermore
    > you can create a user with any name which will
    > have root access (thus leave a backdoor entry
    > for remote root access).
    >
    > How to: Reboot the PC. Hit Ctrl-X when the login
    > screen appears. You will get a command prompt
    > that says "boot:"
    > Type "linux 1"
    >
    > Once thus logged in, you have permissions to edit
    > all files. Edit /etc/passwd and add line:
    >
    > myuser::0:0:root:/root:/bin/bash
    >
    > Save file and exit (logout/reboot).
    > Now you have created a user with user name myuser
    > which has root privileges (try it).
    >
    >==============================================
    >
    > I want to know whether:
    >
    > a. this is a well known security flaw
    > b. if there is someway to prevent this.
    > c. is there anything that distinguishes a user thus
    > created from the root user (in terms of privileges)
    >
    >=============================================
    >
    > If the claim is true (I have tried it on the redhat
    > linux installation that I have) then IMHO, it means
    > that a linux machine is only as secure as the lock
    > that guards it.
    >
    > Please comment,
    > [Sam Jo]

    it's the same with any machine, if you have physical access, it's
    vulnerable. The OS is irrelevent. You can do the same thing with any
    version of MS-Windows.

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)

    iD8DBQFAKfjOd90bcYOAWPYRAnCMAKCQE1XlZC4q9+3tW/Dij86ppNrpWwCgiWb1
    9feQWTrCt1gRJIzdPsKn+RU=
    =epH1
    -----END PGP SIGNATURE-----

    -- 
    Jim Richardson     http://www.eskimo.com/~warlock
    If you can keep your head when all about you are losing theirs, you may have
    an exciting future as a guillotine operator
    

  • Next message: Lew Pitcher: "Re: (newbie) Question about core linux security"

    Relevant Pages

    • Re: (newbie) Question about core linux security
      ... you can gain root access. ... Any time untrusted users have physical access to the hardware ... linux, Windows, some big mainframe or whatever. ...
      (comp.os.linux.security)
    • Re: Thoughts on Vista
      ... Certainly not more than Belgium, Denmark, Massachusetts, and the Bangladesh Linux Users Alliance have been ... ... Y' see, first you choose a large group of users with limited needs (lots of people using just a few apps like email, web browser, word processor, spreadsheet). ... Don't get me wrong, I think it's great and just finished downloading 2.0.3, in fact, because "it includes important security fixes." ... "This worm will gain root access to Linux web servers using at least one known vulnerability. ...
      (alt.comp.hardware.pc-homebuilt)
    • (newbie) Question about core linux security
      ... If you have physical access to a linux ... you can gain root access. ... you have permissions to edit ... which has root privileges. ...
      (comp.os.linux.security)
    • Re: OT: anti-malware progs ineffective
      ... > If you have root access, ... Replacing kernel modules would ... There are so many knobs on a typical linux app that people ... support will be much the same as it is now with Windows. ...
      (sci.electronics.design)
    • Re: OT: anti-malware progs ineffective
      ... > If you have root access, ... Replacing kernel modules would ... There are so many knobs on a typical linux app that people ... support will be much the same as it is now with Windows. ...
      (sci.electronics.basics)

  • Quantcast