Unknown Passwords

Talk here about security in general. Posting illegals software is prohibited. All stuffs in this forum must be considered as for "Educational purpose only".
luko
White ninja
White ninja
Posts: 16
Joined: 05 Oct 2015, 13:58
Distribution: Porteus, Lubuntu
Location: Slovakia

Unknown Passwords

Post#1 by luko » 01 Nov 2017, 19:28

I want something like Kiosk for classic Porteus, the main reason is more security.

1. add to /etc/rc.d/rc.local this lines

# WARRNING: LOOK IF YOU HAVE 'changes-ro' PARAMETER
# IN YOUR SYSLINUX FOR DISABLE CHANGES !!! WARRNING

# change passwd for -root-
R=$(openssl passwd -crypt haLoWeeN)
echo root:$R | chpasswd -c SHA512
# change passwd for -guest-
G=$(openssl passwd -crypt haLoWeeN)
echo guest:$G | chpasswd -c SHA512

# WARRNING: LOOK IF YOU HAVE 'changes-ro' PARAMETER
# IN YOUR SYSLINUX FOR DISABLE CHANGES !!! WARRNING


2. second add to /boot/syslinux/porteus.cfg like this lines, this is only exapmple


LABEL gui
MENU LABEL Porteus in Kiosk mode
KERNEL vmlinuz
APPEND initrd=initrd.xz load=PasswordHammer changes-ro
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT

LABEL fresh
MENU LABEL Porteus in Safe mode
KERNEL vmlinuz
APPEND initrd=initrd.xz nomagic base_only norootcopy
TEXT HELP
Normally Porteus saves all changes
to the /porteus/changes/ directory
on the boot media (if writable)
and restores them next boot.
Use this option to start a fresh
system, changes are not read from
or written to any device
ENDTEXT


at the end you will have two option to boot, one is kiosk mode and second is safe mode with root/toor and guest/guest passwords

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Unknown Passwords

Post#2 by Ed_P » 01 Nov 2017, 20:55

:o Thank you luko.

A couple of questions. What is PasswordHammer? And are the new passwords for root and guest haLoWeeN?
Ed

Post Reply