[issue1133] User management is partially broken for non-default user
kidelo
bts at bts.grml.org
Thu Jan 12 23:23:18 CET 2012
New submission from kidelo <kidelo at yahoo.com>:
The boot options: ssh, fstab and and vnc server setup work only correctly when
the standard user grml is used. In addition the fstab entries uses default
strings from target:/etc/grml/autoconfig without check.
-- 1ST. PROBLEM ------------------------------------------------------
see from boot log:
-> * Bootoption ssh found, trying to set password for user grml.
-> chpasswd: line 1 user 'grml' does not exists
-> chpasswd: error detected changes ignored
-- 2ND. PROBLEM ------------------------------------------------------
press x to start local x server
-> Running Command su grml -c grml-x
-> Unkown id: grml
X-Server does not start up, :-(
-- 3RD. PROBLEM ------------------------------------------------------
VNC Server setup uses hard coded 'grml' user -> found by code inspection
-- 4TH. ADVICE -------------------------------------------------------
fstab ownership should be configured as follows:
a.) /etc/autoconfig:$CONFIG_FSTAB_USER ( multi user system )
b.) standard user with id:1000 ( for single user system )
c.) standard user with name=grml ( for single user system )
d.) fallback to root, to avoid bad fstab
-- USED CONFIG -----------------------------------------------------
[ grml-live.local ]:
OUTPUT="/opt/develop/grml/grml-live"
CLASSES="GRMLBASE,GRML_FULL,AMD64"
DEFAULT_BOOTOPTIONS="ssh=grml-ssh-secret startx vnc=grml-vnc-secret"
USERNAME=myuser
[ ISO-Setup ]:
grml-live [0.17.3]: check your configuration (or use -F to force execution):
FAI classes: GRMLBASE,GRML_FULL,AMD64
Configuration: /etc/grml/grml-live.local
Config directory: /etc/grml/fai
main directory: /opt/develop/grml/grml-live
Chroot target: /opt/develop/grml/grml-live/grml_chroot
Build target: /opt/develop/grml/grml-live/grml_cd
ISO target: /opt/develop/grml/grml-live/grml_isos
Grml name: grml
Release name: grml rocks
Build date: 2012-01-12
Grml version: 0.0-1
Debian suite: testing
Architecture: amd64
Boot method: isolinux
Hybrid method: isohybrid
Template files: /usr/share/grml-live/templates
Boot identifier: grml-mybootid
Adding default bootoptions: "ssh=grml-ssh-secret, persistent"
Using SQUASHFS_OPTIONS -b 256k
see appended file for git-patch:
----------
files: 0001-correct-service-startup-and-password-management.patch
messages: 4237
nosy: kidelo
priority: bug
status: unread
title: User management is partially broken for non-default user
topic: grml-autoconfig
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1133>
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-correct-service-startup-and-password-management.patch
Type: text/x-patch
Size: 7122 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20120112/c63ff902/attachment.bin>
More information about the Bugs-changes
mailing list