Moin!
Man kann zwar Gruppen (/bin/addgroup) und Benutzer (/bin/adduser) anlegen, aber für den Boxenzugriff wird immer user root benötigt.
Als Standard ist kein Passwort gesetzt.
/usr/bin/passwd.shadow (bzw. passwd):
Code:
root@dm800se:~# passwd --help
Usage: passwd [options] [LOGIN]Options:
-a, --all report password status on all accounts
-d, --delete delete the password for the named account
-e, --expire force expire the password for the named account
-h, --help display this help message and exit
-k, --keep-tokens change password only if expired
-i, --inactive INACTIVE set password inactive after expiration to INACTIVE
-l, --lock lock the password of the named account
-n, --mindays MIN_DAYS set minimum number of days before Password change to MIN_DAYS
-q, --quiet quiet mode
-r, --repository REPOSITORY change password in REPOSITORY repository
-S, --status report password status on the named account
-u, --unlock unlock the password of the named account
-w, --warndays WARN_DAYS set expiration warning days to WARN_DAYS
-x, --maxdays MAX_DAYS set maximum number of days before Password change to MAX_DAYS
root@dm800se:~#
Verwaltet werden die Daten in /etc/shadow;
Code:
root::15667:0:99999:7:::
Code:
root:2oOvAVp3JyhaI:15739:0:99999:7:::
allerdings verschlüsselt.
/etc/passwd
Code:
[root::0:0:root:/home/root:/bin/sh
Code:
root:x:0:0:root:/home/root:/bin/sh
zeigt nur noch an, ob ein Passwort genutzt wird.
Für beide passwd und shadow gibt es Backup Versionen der zuletzt genutzten Konfiguration: passwd- und shadow-
Lesezeichen