Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, does anybody know how to disable booting into Linux. I mean I would put a password into Grub. Can I definitely refuse logging in without selecting an users profile. ...
  1. #1
    Linux Enthusiast minthaka's Avatar
    Join Date
    May 2006
    Location
    Mol, Vojvodina
    Posts
    556

    Security

    Hi,
    does anybody know how to disable booting into Linux. I mean I would put a password into Grub. Can I definitely refuse logging in without selecting an users profile. Cos when my son hits the Esc button it logs in. Not as root and not as an user. Is it possibile?
    I hope I was clear. Once more. Can I lock the computer with a password to avoid any activity on it ?
    If you need a CD/DVD catalogizer, give a try to my program:
    http://www.kde-apps.org/content/show...content=100682
    Linux Usert#430188

  2. #2
    Linux Newbie tvilkov's Avatar
    Join Date
    Jan 2007
    Location
    Moscow
    Posts
    136
    try setting the password in the BIOS
    Gentoo 2.6.24 amd64
    AMD Anthlon 64 X2, 2 GB RAM, Asus M2N-MX, nVidia GeForce 9600GT 512Mb, 250Gb + 160Gb HDDs

  3. #3
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    BIOS password is fine unless he wants his kid to be able to boot to Windows (on a dual boot system).

    If you only want to prevent booting to Linux, and not other OS, read here:
    http://www.gnu.org/software/grub/man.../Security.html

    Use password + lock for the grub Linux entry.

  4. #4
    Linux User benjamin20's Avatar
    Join Date
    Oct 2004
    Location
    jacksonville beach FL
    Posts
    317
    ??? this brings a whole new light into the world of linux security. by rebooting anyone could just cat /etc/passwd and get all passwords. i think this grub password stuff should be activated by default by distros, as it not only effectivaly disables security but also shows passwords.
    nVidia G-Force 6600GT (bfg) pci-e: amd 64 2000+ (939): 1024 corsair ram: 2X 80gb seagate harddisk SATA: plextor cd/dvd-read/write cdrom SATA

  5. #5
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    by rebooting anyone could just cat /etc/passwd and get all passwords
    Password hashes are actually stored in /etc/shadow, and only root has read access to the file.

    But there are lots of other ways to compromise your box if someone has physical access to it. (There is a long thread on this discussion somewhere, so I won't rehash it here.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •