Question About /etc/shadow

Ralf Mardorf silver.bullet at zoho.com
Sun Oct 2 04:45:50 UTC 2016


On Sun, 2 Oct 2016 00:21:08 -0400, Tom H wrote:
>On Sat, Oct 1, 2016 at 8:07 PM, Jay Ridgley wrote:
>> the user may log in the system by other means
>the user may log in the system by other means

It's possible to access a Linux install without a password by another
Linux using systemd-nspawn [1] or chroot [2].

Regards,
Ralf

[1]
[root at archlinux rocketmouse]# grep _NAME /etc/os-release 
PRETTY_NAME="Arch Linux"
[root at archlinux rocketmouse]# grep _NAME /mnt/moonstudio/etc/os-release 
PRETTY_NAME="Ubuntu 16.04.1 LTS"
[root at archlinux rocketmouse]# systemd-nspawn -qD /mnt/moonstudio
[root at moonstudio ~]# grep _NAME /etc/os-release
PRETTY_NAME="Ubuntu 16.04.1 LTS"
[root at moonstudio ~]# lsb_release -r
Release:	16.04
[root at moonstudio ~]# logout
[root at archlinux rocketmouse]# lsb_release -r
bash: lsb_release: command not found
[root at archlinux rocketmouse]# grep _NAME /etc/os-release 
PRETTY_NAME="Arch Linux"

[2]
https://help.ubuntu.com/community/LiveCdRecovery





More information about the ubuntu-users mailing list