Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

new user creation and password complexity

Featured Replies

How can I disable the first run scripts that force you create a new user on a fresh install? And how do I get it to accept simple passwords?

On 7/21/2018 at 12:03 AM, hchenji said:

And how do I get it to accept simple passwords?

reasons why simple passwords might be a bad idea:

by allowing simple passwords or default passwords active (e.g. 1234 is one of the 'dumbest' you can imagine when it's set permanently).

 

from armbian.com:

Quote

Secure

Images are made fully automatised from sources. Releases are PGP signed and code is regularly inspected by community.

 

You can do whatever you want to do here: https://github.com/armbian/build/blob/master/config/templates/customize-image.sh.template

but there won't be any official images with disabled/lowered security. 

Using customize-image.sh to create an image.  Add to or replace script:

#!/bin/bash

# remove new user prompt
rm /root/.not_logged_in_yet

# change to weak password
echo "root:qwerty" | chpasswd

If you are trying to do this from official images.  After writing image to sdcard, mount, chroot, and run above.  Or mount, remove .not_logged_in_yet, and manually create new password by using mkpasswd and insert into /etc/shadow.  For more info, check man pages for shadow, mkpasswd.

 

Edit: For official images; mount sdcard, create /boot/armbian_first_run.txt and copy code into the file.  It should exec them on first run.

Edited by lrrr
Additional info

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.