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.

"Authentification failure" - when trying to access superuser on bash

Featured Replies

 

hello dear all,

 

i am running Armbian on a Banana Pi for more than one month - all goes well

 

No i wanted to do some checks - and i wanted to check the version of the kernel on bash  - with /etc/armbian-version

 

but this is only accessible when logged in as superuser

 

At the moment i do not remember the credentials for the super user

 

so i enter su

and then a passwd - but i get back "Authentification failure"

 

BTW: with password 1234 i do not succeed.

 

question: What can i do now!?

if your  normal user is sudo-enabled the try to set a new root-password with

sudo passwd

 

if that would succeed then change to root accunt with su and the new password

  • Author

hello dear guidol - many many thanks for the quick reply . I am glad to hear from you

 

 

but while trying to achieve data from the system i get back the following>

see what i have done

 

Note - as mentioned above: i  Just wanted to get info bout the kernel:

 

 

in latests Armbian we can find armbian specific info in following file
 

/etc/armbian-release

 

see what i have got back...


bash: /etc/armbian-release: Permission denied
martin@bananapi:~$ su
Password:
root@bananapi:/home/martin# /etc/armbian-release
bash: /etc/armbian-release: Permission denied
root@bananapi:/home/martin#

 

i will try to go ahead and find out more. I will come back later the day and report all the findings.

 

Have a great day.

 

you cant start /etc/armbian-release as a script, but you shouldnt could do more /etc/armbian-release

 

You also can put the following lines in a show_packages.sh (after saving submit a chmod 755 ./show_packages.sh):
 

ARMBIAN_bsp=$(more /etc/armbian-release|grep VERSION|cut -f 2 -d '=')
ARMBIAN_kernel=$(dpkg -s linux-image-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_uboot=$(dpkg -s linux-u-boot-$BOARD-$BRANCH|grep Version|cut -f 2 -d ' ')
ARMBIAN_dtb=$(dpkg -s linux-dtb-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_firmware=$(dpkg -s armbian-firmware|grep Version|cut -f 2 -d ' ')
ARMBIAN_config=$(dpkg -s armbian-config|grep Version|cut -f 2 -d ' ')

printf 'package bsp-kernel[\e[0;91m%s\x1B[0m] u-boot[\e[0;91m%s\x1B[0m] dtb[\e[0;91m%s\x1B[0m] firmware[\e[0;91m%s\x1B[0m] config[\e[0;91m%s\x1B[0m]\n' "$ARMBIAN_kernel" "$ARMBIAN_uboot" "$ARMBIAN_dtb" "$ARMBIAN_firmware" "$ARMBIAN_config"
printf '\n'

and the kernel should also be shown with the command uname -a

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.