Univention Bugzilla – Bug 35498
Skip root password in USS
Last modified: 2014-11-26 06:54:05 CET
Has already been chosen in d-i and stored in /var/lib/univention-ldap/root-secret
USS should hide this widget if directly started from d-i. But on next reboot (e.g. USS has been stopped via Strg-Q) it should be shown again.
If started via d-i, USS should not ask for - the root password during DC master installation ("domain and host config") - the local root password during DC backup/slave/memberserver installation
For easier remote access it would be useful to have a way to set the password for the __systemsetup__ user to some explicit value instead of getting a random 30 character password: diff --git a/branches/ucs-4.0/ucs-4.0-0/base/univention-system-setup/usr/share/univention-system-setup/startxwithfirefox b/branches/ucs-4.0/ucs-4.0-0/base/univention-system-setup/usr/share/univention-system-setup/startxwithfirefox index 2f65c55..7f2f558 100755 --- a/branches/ucs-4.0/ucs-4.0-0/base/univention-system-setup/usr/share/univention-system-setup/startxwithfirefox +++ b/branches/ucs-4.0/ucs-4.0-0/base/univention-system-setup/usr/share/univention-system-setup/startxwithfirefox @@ -44,7 +44,12 @@ then # call self in xinit as nobody, then start gdm USS_PROFILE="/var/cache/univention-system-setup/profile" # set random password for system setup user - USSPASSWD="$(tr -c -d '[:alnum:]' < /dev/urandom | head -c 30)" + if [ -s /var/lib/univention-ldap/root.secret ] + then + USSPASSWD="$(</var/lib/univention-ldap/root.secret)" + else + USSPASSWD="$(tr -c -d '[:alnum:]' < /dev/urandom | head -c 30)" + fi echo "__systemsetup__:$USSPASSWD" | chpasswd default_locale=en_US
*** This bug has been marked as a duplicate of bug 35685 ***
ok
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".