Results 1 to 3 of 3

Thread: How to disable login as root with no pwd when fsck is forced

  1. #1
    Junior Member
    Join Date
    May 2005
    Location
    Argentona - Catalonia
    Posts
    2

    How to disable login as root with no pwd when fsck is forced

    Dear people:

    I'm new using Linux, and I've choose Knoppix because seems so easy to install and have common applications to work.
    First of all, excuse me because my english is so poor.
    Second, excuse me if my doubt is so trivial and I've been able to find this information.


    The question
    ============
    At work, when there's any electric problem that reboots my computer, the system boots and forces a fsck. At the end, shows a "CTRL+D to exit this shell and reboot" message.

    The main partition is mounted as root in read only mode, and anyone could mount this partition as rw so easily as root (system doesn't request root's password).

    Is there any way to disable this fsck as root? Or allow it, but requesting password?

    I've thought that I could allow BIOS password at startup, but it's not an elegant solution...

    I've been reading FAQs, looking over Internet and reading some messages of this forum, but I don't know if is there any way to do it.

    Thanks,

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How to disable login as root with no pwd when fsck is fo

    Err... Have you thought about turning the computer off when you're not there? Or purchasing a UPS?

    --Yah, I know, not exactly what you asked, but I'm trying to help outside the box.

    --Are you using a journalled filesystem? (ext3, reiserfs, etc)

    Quote Originally Posted by Xevi
    Dear people:

    I'm new using Linux, and I've choose Knoppix because seems so easy to install and have common applications to work.
    First of all, excuse me because my english is so poor.
    Second, excuse me if my doubt is so trivial and I've been able to find this information.


    The question
    ============
    At work, when there's any electric problem that reboots my computer, the system boots and forces a fsck. At the end, shows a "CTRL+D to exit this shell and reboot" message.

    The main partition is mounted as root in read only mode, and anyone could mount this partition as rw so easily as root (system doesn't request root's password).

    Is there any way to disable this fsck as root? Or allow it, but requesting password?

    I've thought that I could allow BIOS password at startup, but it's not an elegant solution...

    I've been reading FAQs, looking over Internet and reading some messages of this forum, but I don't know if is there any way to do it.

    Thanks,

  3. #3
    Junior Member
    Join Date
    May 2005
    Location
    Argentona - Catalonia
    Posts
    2

    Re: How to disable login as root with no pwd when fsck is fo

    Thanks for your answer, Dave.

    I have some scripts running every night. A UPS is expensive; must be better password-protect the computer in Bios menu... so thanks for your suggestion.

    I'm using ext3.

    Regards,

    Xevi

    Quote Originally Posted by Dave_Bechtel
    Err... Have you thought about turning the computer off when you're not there? Or purchasing a UPS?

    --Yah, I know, not exactly what you asked, but I'm trying to help outside the box.

    --Are you using a journalled filesystem? (ext3, reiserfs, etc)

    Quote Originally Posted by Xevi
    Dear people:

    I'm new using Linux, and I've choose Knoppix because seems so easy to install and have common applications to work.
    First of all, excuse me because my english is so poor.
    Second, excuse me if my doubt is so trivial and I've been able to find this information.


    The question
    ============
    At work, when there's any electric problem that reboots my computer, the system boots and forces a fsck. At the end, shows a "CTRL+D to exit this shell and reboot" message.

    The main partition is mounted as root in read only mode, and anyone could mount this partition as rw so easily as root (system doesn't request root's password).

    Is there any way to disable this fsck as root? Or allow it, but requesting password?

    I've thought that I could allow BIOS password at startup, but it's not an elegant solution...

    I've been reading FAQs, looking over Internet and reading some messages of this forum, but I don't know if is there any way to do it.

    Thanks,

Similar Threads

  1. Disable auto login in Knoppix 6.2
    By rajasekaran in forum Hdd Install / Debian / Apt
    Replies: 16
    Last Post: 09-08-2013, 10:52 AM
  2. Newbie needs to disable graphical login manager
    By shplad in forum General Support
    Replies: 5
    Last Post: 12-18-2005, 04:58 PM
  3. Can not login as a regular user....forced to use ROOT
    By Orion Pax in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 08-02-2004, 01:50 PM
  4. how to disable the login screen?
    By sgoodall in forum Customising & Remastering
    Replies: 5
    Last Post: 05-02-2004, 05:50 PM
  5. Password protection and forced graphical login
    By jmrizz in forum Customising & Remastering
    Replies: 5
    Last Post: 01-31-2003, 05:21 PM

Posting Permissions

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


HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$78.99



20 GB 12 10  8.4 6.4 IDE 3.5

20 GB 12 10 8.4 6.4 IDE 3.5" PATA WD Seagate IBM Quantum Samsung Maxtor HDD

$19.18



WD Ultrastar DC HC530 14TB SATA 6G 3.5

WD Ultrastar DC HC530 14TB SATA 6G 3.5" 7200RPM Enterprise HDD - WUH721414ALE604

$112.00



Lot of Ten Toshiba 500GB, 5400RPM, 2.5 inch (MQ01ABF050) HDD As Is Hard Drives picture

Lot of Ten Toshiba 500GB, 5400RPM, 2.5 inch (MQ01ABF050) HDD As Is Hard Drives

$20.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HP 4TB 3.5

HP 4TB 3.5" 12Gb/s 7.2K SAS Hard Drive P/N: 793674-001 / 803634-001 / 695597-004

$14.87



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$18.99



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.54



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99