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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar

$304.35



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HYVE ZEUS V1 1U BAREBONE SERVER 2X10CORE E5-2680V2 2.8GHz 16GB RAM RISER NO RAIL picture

HYVE ZEUS V1 1U BAREBONE SERVER 2X10CORE E5-2680V2 2.8GHz 16GB RAM RISER NO RAIL

$180.00



DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$284.00



PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB picture

PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB

$200.00