LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 05-20-2020, 04:16 AM   #1
00x
LQ Newbie
 
Registered: Aug 2018
Distribution: OpenBSD
Posts: 11

Rep: Reputation: 0
FreeBSD root passwod reset single user mode


If I forget the root password on FreeBSD, I can put in the install CD/USB into the computer and then boot into single user mode, then reset the root password (without having to know the old) by typing `passwd'

This is convenient but isn't it also a massive security hole? If someone has physical access to a computer running FreeBSD does that mean they can just hijack the root account this way
Is there a way to disable this?
 
Old 05-20-2020, 05:08 AM   #2
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 3,540

Rep: Reputation: Disabled
If they have physical access, they can do anything to it, including steal all your data.

The thing is, how many, of your friends/family/enemies know how to do that.

You should be able to disable access to all external media, (check their handbook to see how).
 
Old 05-20-2020, 07:20 AM   #3
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Posts: 1,759

Rep: Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750
This is why server rooms have multiple levels of physical security...card swipes to get in, cameras, etc. Any OS has this vulnerability: pull a windows server drive and pop it in a Linux or BSD machine and you can read all the data.Or boot a windows machine with a Linux live thumbdrive and you can read all the data...

Last edited by sevendogsbsd; 05-20-2020 at 07:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enter into single user mode as non root user in rhel hariharan.gopal Red Hat 3 09-20-2018 08:44 AM
Booting Linux into single user mode for password reset Aunraza Linux - Kernel 2 08-08-2016 03:37 PM
what the "!!" in the /etc/passwod/ means? linuxFreshMan Linux - Security 5 11-10-2010 07:44 AM
Passwod hash algorithm PlatinumX Red Hat 2 06-23-2009 01:21 PM
updating FreeBSD 6.0 to FreeBSD 6.2 without Console (single user access) kur1j *BSD 2 08-17-2007 07:12 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration