Username and Password Showing Up in Banner at Boot Up Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Poui
Posts: 11
Joined: Fri Mar 24, 2017 2:58 pm

Username and Password Showing Up in Banner at Boot Up

Post by Poui »

On boot up, the DietPi banner displays my username and password. Undesirable! How can I fix this? Does it suggest that something is misconfigured? If so, what?

Did a forum search before asking.

User avatar
Fourdee
Site Admin
Posts: 2789
Joined: Tue Feb 06, 2007 12:36 pm

Re: Username and Password Showing Up in Banner at Boot Up

Post by Fourdee »

Poui wrote:On boot up, the DietPi banner displays my username and password. Undesirable! How can I fix this? Does it suggest that something is misconfigured? If so, what?

Did a forum search before asking.
Hi,

Only the default login details are show during login. You can change the root password with:
dietpi-config > Security options > Password
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.

Poui
Posts: 11
Joined: Fri Mar 24, 2017 2:58 pm

Re: Username and Password Showing Up in Banner at Boot Up

Post by Poui »

Hi,

Thanks for the suggestion.

I do know how to change user passwords. That is not at issue. Rather, I do not want my password and username to display in the DietPi banner on boot. This information It shows at the bottom of the banner and just above the shebang on boot up. My query is about how to stop that default behavior.

I will try to capture the boot screen with the undesired information partially redacted as evidence of the problem.

pabgan
Posts: 5
Joined: Wed Mar 29, 2017 2:01 pm

Re: Username and Password Showing Up in Banner at Boot Up

Post by pabgan »

I think that what Fourdee is saying is that your password and username are NOT shown in the boot up process.

What it is shown in the boot up process are the DEFAULT username and password, the same information that could be found on Google. Which I did not notice but I think it is a great idea, so you don't have to Google that if you are as impatient as I am.

Blackhood
Posts: 1
Joined: Tue Aug 20, 2019 6:45 pm

Re: Username and Password Showing Up in Banner at Boot Up

Post by Blackhood »

I found this post because I wanted to remove the information on my installation as well.

You can edit the /DietPi/dietpi/postboot file. Around line 55 you'll see the text. You can put a # at the front of the line to comment it out.

As others said, after an update you may have to do this again.

HTH

User avatar
MichaIng
Site Admin
Posts: 1949
Joined: Sat Nov 18, 2017 5:21 pm

Re: Username and Password Showing Up in Banner at Boot Up

Post by MichaIng »

@Blackhood
Thanks for sharing, jep that is possible but reverted with dietpi-update.

We could change it a way that this is only printed on first login prompt. Afterwards users are anyway asked to change their password and they will know how to login then, what you think?

And for security concerns mentioned before, indeed its only the default password, that you are asked to change during firstrun setup, not the actual password that you applied ;). But indeed this is only useful for the very first login.

BeJimmieKab
Posts: 3
Joined: Wed Aug 21, 2019 2:05 am
Location: Syria
Contact:

Username and Password Showing Up in Banner at Boot Up

Post by BeJimmieKab »

Thanks but now I came up with another question.

Eckhart says problems can only exist in time past and future but I can easily think I dont have a pretty girlfriend now. Just an example, lol.

So what does that problem have to do with time?

User avatar
MichaIng
Site Admin
Posts: 1949
Joined: Sat Nov 18, 2017 5:21 pm

Re: Username and Password Showing Up in Banner at Boot Up

Post by MichaIng »

Login banner from now on shows default login credentials only on first boot: https://github.com/MichaIng/DietPi/comm ... be58bfd412

Post Reply