Re: Fedora/Atomic
Olaf Radicke <[email protected]> Wed, 23 Sep 2015 17:29:12 +0200 (CEST)
| Newsgroups | gmane.linux.redhat.fedora.german |
|---|---|
| Message-ID | <427699126.4651.1443022152166.JavaMail.open-xchange@app08.ox.hosteurope.de> |
------=_Part_4650_1312326821.1443022152112 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable In dieser Anleitung: https://www.digitalocean.com/community/tutorials/an-introduction-to-cloud-c= onfig-scripting ...habe ich gesehen, das man die hashed passwords setzen kann. Zwischen den= key word "passwd:" und dem Hash muss zwingend ein Leerzeichen stehen, habe ich festgestellt. D= ann wird der Hash tats=C3=A4chlich in der /etc/shadow abgelegt. Allerdings wird ein "!!"= vor den Hash geklemmt. Das wiederum verhindert, das der Login funktioniert. Entfernt man die "!!" = ist der Login m=C3=B6glich. Ist das ein Bug? VG Olaf > Olaf Radicke <[email protected]> hat am 23. September 2015 um 1= 6:23 > geschrieben: >=20 >=20 > Irgend wir klapp das nur so halb. Funktionieren tut es, das: >=20 > * Der User "demo" angelegt wird > * Das der User "demo" die richtigen ssh keys hinterlegt hat > * Das der ssh-login des "demo"-user funktioniert > * Das der "demo"-user in der sudo korekt eingetragen ist >=20 > Was nicht funktioniert ist: > * Das das root passwort auf "password" gesetzt wird > * Das das "demo"-User-Passwort auf "demo" gesetzt wird > * Das werde root noch demo sich mit ihren Passworten in der Weboberfl=C3= =A4che von > cockpit anmelden k=C3=B6nnen. > * Ach wenn das Passwort vom User root oder demo neu gesetzt wird, klappt = der > cockpit-log in nocht. Im journal ist was zu lesen von "error: > mm_request_receive: socket closed" >=20 > Hat jemand eine Idee f=C3=BCr mich? >=20 > VG >=20 > Olaf >=20 > > Olaf Radicke <[email protected]> hat am 22. September 2015 um > > 14:00 > > geschrieben: > >=20 > >=20 > > Hallo Loste, > >=20 > > ich habe gerade mal versucht den (fedora) Atomic host zum laufen zu > > bekommen. > > Das Image startet aber die Konfigurationen auf dem init-ISO zeigen kein= e > > Auswirkung. Wie kann ich das Problem einkreisen? > >=20 > > Meine "meta-data" sieht so aus: > > --------------BEGIN--------------- > > instance-id: atomic-host001 > > local-hostname: atomic01.olaf.priv > > ----------------ED--------------------- > >=20 > > Meinw "user-data" so: > >=20 > > ---------------BEGIN------------------- > > #cloud-config > >=20 > > users: > > - default > > - name: demo > > gecos: User D. Two > > sudo: ["ALL=3D(ALL) NOPASSWD:ALL"] > > groups: wheel,adm,systemd-journal > > ssh_pwauth: True > > ssh_authorized_keys: > > - ssh-rsa > > AAAAB3NzaC1yc2EAAAADAQABAAABAQDH9rCpHVVfaUuTOt2XYzNkZJWZfoHOyKiJTj1Pl4L= 7zOn84Trr/uH8+m/W6EieDmLH2wgt6Dlmy+rY//jBpxdBn5xd37Fq/gKCbA5P+wsUald0f5w6M/= u06NeZ8TcyPtCRYzvXYCXrIlgQJR9Np4GcfkeSTgmbNnN0M5jUwZxYWmlp4C7QOeyiVPjM7rn64= qm3SHjFk6LWnCoVB09kZAaC7rpIezMhrwLUIFCIHQsKwvpO4K92Q8vEz4Jzll0FSbIomzIy/PW2= naqCgePvJE6r3QMgLi1Rwyb1FAMhGdwgtnc/i4DjGEfXTzMzy+HZkapZ7ftQof2TVcJc4u4/9nB= J > > [email protected] > >=20 > > chpasswd: > > list: | > > root:password > > cloud-user:atomic > > demo:demo > > expire: False > > ---------------------END------------------------ > > Ausf=C3=BChren tue ich: > >=20 > >=20 > > genisoimage -v -debug -output atomic_init.iso -volid cidata -joliet -r= ock > > user-data meta-data > >=20 > > mv -f ./atomic_init.iso /home/DATA/kvm/iso/atomic_init.iso > >=20 > > virt-install --name=3Datomic1-fedora22 --ram 1024 \ > > --disk path=3D/home/DATA/kvm/kvm_images/atomic_test.qcow2 \ > > --vcpus 1 --os-type linux --os-variant generic --network network=3Ddefa= ult > > --graphic none \ > > --console pty,target_type=3Dserial \ > > --cdrom=3D/home/DATA/kvm/iso/atomic_init.iso > >=20 > >=20 > > Ich bekomme als Ausgabe: > >=20 > > [root@oradicke-localdomain project_atomic]# genisoimage -v -debug -out= put > > atomic_init.iso -volid cidata -joliet -rock user-data meta-data > > I: -input-charset not specified, using utf-8 (detected in locale settin= gs) > > genisoimage 1.1.11 (Linux) > > graft_dir: ' : ', node: 'user-data', short_name: 'user-data' > > graft_dir: ' : ', node: 'meta-data', short_name: 'meta-data' > > Writing: Initial Padblock Start Block 0 > > Done with: Initial Padblock Block(s) 16 > > Writing: Primary Volume Descriptor Start Block 16 > > Done with: Primary Volume Descriptor Block(s) 1 > > Writing: Joliet Volume Descriptor Start Block 17 > > Done with: Joliet Volume Descriptor Block(s) 1 > > Writing: End Volume Descriptor Start Block 18 > > Done with: End Volume Descriptor Block(s) 1 > > Writing: Version block Start Block 19 > > Done with: Version block Block(s) 1 > > Writing: Path table Start Block 20 > > Done with: Path table Block(s) 4 > > Writing: Joliet path table Start Block 24 > > Done with: Joliet path table Block(s) 4 > > Writing: Directory tree Start Block 28 > > Done with: Directory tree Block(s) 1 > > Writing: Joliet directory tree Start Block 29 > > Done with: Joliet directory tree Block(s) 1 > > Writing: Directory tree cleanup Start Block 30 > > Done with: Directory tree cleanup Block(s) 0 > > Writing: Extension record Start Block 30 > > Done with: Extension record Block(s) 1 > > Writing: The File(s) Start Block 31 > > Total translation table size: 0 > > Total rockridge attributes bytes: 331 > > Total directory bytes: 0 > > Path table size(bytes): 10 > > Done with: The File(s) Block(s) 2 > > Writing: Ending Padblock Start Block 33 > > Done with: Ending Padblock Block(s) 150 > > Max brk space used 0 > > 183 extents written (0 MB)-- > > de-users mailing list > > [email protected] > > https://admin.fedoraproject.org/mailman/listinfo/de-users-- > de-users mailing list > [email protected] > https://admin.fedoraproject.org/mailman/listinfo/de-users ------=_Part_4650_1312326821.1443022152112 MIME-Version: 1.0 Content-Type: text/vcard; charset=UTF-8; name=OlafRadicke.vcf Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=OlafRadicke.vcf BEGIN:VCARD VERSION:3.0 PRODID:OPEN-XCHANGE FN:Olaf Radicke N:Radicke;Olaf;;; X-OPEN-XCHANGE-CTYPE:contact EMAIL;TYPE=INTERNET,work:[email protected] REV:20110624T183100.487Z UID:7212a92f-8ba2-42d1-adab-d30467194232 END:VCARD ------=_Part_4650_1312326821.1443022152112 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0KZGUtdXNlcnMgbWFpbGluZyBsaXN0CmRlLXVzZXJzQGxpc3RzLmZlZG9yYXByb2plY3Qub3Jn Cmh0dHBzOi8vYWRtaW4uZmVkb3JhcHJvamVjdC5vcmcvbWFpbG1hbi9saXN0aW5mby9kZS11c2Vy cw== ------=_Part_4650_1312326821.1443022152112--