-
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,
-
Senior Member
registered user
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)

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,
-
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

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)

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
-
By rajasekaran in forum Hdd Install / Debian / Apt
Replies: 16
Last Post: 09-08-2013, 10:52 AM
-
By shplad in forum General Support
Replies: 5
Last Post: 12-18-2005, 04:58 PM
-
By Orion Pax in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 08-02-2004, 01:50 PM
-
By sgoodall in forum Customising & Remastering
Replies: 5
Last Post: 05-02-2004, 05:50 PM
-
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
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W
$899.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

1U Server Intel Xeon E3-1240 V5 3.5Ghz 4C 32GB RAM 2x M.2 2280 OCP RJ45 Rails
$310.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD
$149.99