DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th July 2021
joao177 joao177 is offline
New User
 
Join Date: Jun 2021
Posts: 6
Default Put a message before asking for password in FDE boot

I'm aiming to put a small advisory before the "Enter password" prompt in a FDE boot, and, if possible, change the prompt text itself. How can this be achieved?
Reply With Quote
  #2   (View Single Post)  
Old 5th July 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,416
Default

If you mean the prompt produced by the bootloader, such as:
Code:
>> OpenBSD/amd64 BOOT 3.53
Passphrase:
then you'll need to customize the source code and rebuild the release(8), as the prompt is in /usr/src/sys/lib/libsa/softraid.c, a function used by your architecture's softraid-compatible bootloader.
Reply With Quote
  #3   (View Single Post)  
Old 6th July 2021
joao177 joao177 is offline
New User
 
Join Date: Jun 2021
Posts: 6
Default

That's what I was looking for, thank you! Now, do I need to rebuild the entire source, or I can build only that specific fragment?
Reply With Quote
  #4   (View Single Post)  
Old 6th July 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,416
Default

It will be easier to build a full release(8), then reinstall boot blocks with installboot(8).
Reply With Quote
Reply

Tags
boot, fde, password, prompt

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
boot: Segmentation fault message shep OpenBSD General 43 23rd October 2021 04:13 PM
How to eliminate repeated message during Boot dmick1954 OpenBSD General 3 26th June 2021 11:19 PM
Boot message: acpidump: RSDT entry 4 is corrupt acampbell OpenBSD General 15 23rd January 2017 09:31 AM
Entering geli password on boot works after 20 min bashrules FreeBSD Security 3 7th November 2015 11:37 PM
first install, first boot on netbsd, change password length wesley NetBSD General 0 26th August 2010 08:18 AM


All times are GMT. The time now is 05:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick