您尚未登录。

#1 2018-03-06 15:36:33

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

发这个帖子之前犹豫了好久,感觉这个问题太低级,但确实存在,头疼~

useradd -m -g users -s /usr/bin/bash john以后,没有马上登录,又装了sudo,添加john   ALL=(ALL) ALL,还安装些桌面方面的东东,如lightdm,没有运行systemctl enable lightdm.service,然后重启想用john来登录,提示如下:

Login incorrect

怀疑是输入错误,重复试了几次,提示依旧;
回想是不是设置密码就不对,改由root登录,运行下面命令:

passwd john

提示如下:

New password:
Retype new password:
passwd:password updated successfully

再用john登录,依旧是提示Login incorrect;
我能确定密码没输入错误,因为不是新密码,不会记错;

我试了下,新建另一个用户keke,然后passwd keke,然后切换到tty2用keke登录,还是提示Login incorrect,好神奇;

担心外接键盘的问题,把外接键盘拨掉,用笔记本自带键盘重复用root登录并passwd john,然后用john登录,还是提示Login incorrect!


这要怎么破?


.

最近编辑记录 驿窗 (2018-03-20 18:09:31)


开源/Linux大众化,从驿窗开始~

离线

#2 2018-03-06 16:05:10

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,922
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

journalctl 看看日志。

离线

#3 2018-03-06 18:41:52

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

看了下日志 ,有提示Mar 06 15:46:26 HiH login[342]: FAILED LOGIN 1 FROM tty1 FOR john, Authentication failure,但不清楚问题在哪里:我把日志贴上来,帮我看一下:

-- Logs begin at Tue 2018-03-06 09:52:07 CST, end at Tue 2018-03-06 16:01:10 CST. --
Mar 06 15:45:59 HiH kernel: Linux version 4.15.7-1-ARCH (builduser@heftig-14534) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Wed Feb 28 19:01:57 UTC 2018
Mar 06 15:45:59 HiH kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f07320ef-9e6b-421a-882a-ba3bd83d81b1 rw quiet
Mar 06 15:45:59 HiH kernel: KERNEL supported cpus:
Mar 06 15:45:59 HiH kernel:   Intel GenuineIntel
Mar 06 15:45:59 HiH kernel:   AMD AuthenticAMD
Mar 06 15:45:59 HiH kernel:   Centaur CentaurHauls
Mar 06 15:45:59 HiH kernel: x86/fpu: x87 FPU will use FXSAVE
Mar 06 15:45:59 HiH kernel: e820: BIOS-provided physical RAM map:
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000bffd8fff] usable
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x00000000bffd9000-0x00000000bfffffff] reserved
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
Mar 06 15:45:59 HiH kernel: BIOS-e820: [mem 0x0000000100000000-0x000000013fffffff] usable
Mar 06 15:45:59 HiH kernel: NX (Execute Disable) protection: active
Mar 06 15:45:59 HiH kernel: random: fast init done
Mar 06 15:45:59 HiH kernel: SMBIOS 2.8 present.
Mar 06 15:45:59 HiH kernel: DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.0-20171110_100015-anatol 04/01/2014
Mar 06 15:45:59 HiH kernel: Hypervisor detected: KVM
Mar 06 15:45:59 HiH kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Mar 06 15:45:59 HiH kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Mar 06 15:45:59 HiH kernel: e820: last_pfn = 0x140000 max_arch_pfn = 0x400000000
Mar 06 15:45:59 HiH kernel: MTRR default type: write-back
Mar 06 15:45:59 HiH kernel: MTRR fixed ranges enabled:
Mar 06 15:45:59 HiH kernel:   00000-9FFFF write-back
Mar 06 15:45:59 HiH kernel:   A0000-BFFFF uncachable
Mar 06 15:45:59 HiH kernel:   C0000-FFFFF write-protect
Mar 06 15:45:59 HiH kernel: MTRR variable ranges enabled:
Mar 06 15:45:59 HiH kernel:   0 base 00C0000000 mask FFC0000000 uncachable
Mar 06 15:45:59 HiH kernel:   1 disabled
Mar 06 15:45:59 HiH kernel:   2 disabled
Mar 06 15:45:59 HiH kernel:   3 disabled
Mar 06 15:45:59 HiH kernel:   4 disabled
Mar 06 15:45:59 HiH kernel:   5 disabled
Mar 06 15:45:59 HiH kernel:   6 disabled
Mar 06 15:45:59 HiH kernel:   7 disabled
Mar 06 15:45:59 HiH kernel: x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
Mar 06 15:45:59 HiH kernel: e820: last_pfn = 0xbffd9 max_arch_pfn = 0x400000000
Mar 06 15:45:59 HiH kernel: found SMP MP-table at [mem 0x000f5d00-0x000f5d0f] mapped at [        (ptrval)]
Mar 06 15:45:59 HiH kernel: Scanning 1 areas for low memory corruption
Mar 06 15:45:59 HiH kernel: Base memory trampoline at [        (ptrval)] 99000 size 24576
Mar 06 15:45:59 HiH kernel: BRK [0x10963a000, 0x10963afff] PGTABLE
Mar 06 15:45:59 HiH kernel: BRK [0x10963b000, 0x10963bfff] PGTABLE
Mar 06 15:45:59 HiH kernel: BRK [0x10963c000, 0x10963cfff] PGTABLE
Mar 06 15:45:59 HiH kernel: BRK [0x10963d000, 0x10963dfff] PGTABLE
Mar 06 15:45:59 HiH kernel: BRK [0x10963e000, 0x10963efff] PGTABLE
Mar 06 15:45:59 HiH kernel: BRK [0x10963f000, 0x10963ffff] PGTABLE
Mar 06 15:45:59 HiH kernel: BRK [0x109640000, 0x109640fff] PGTABLE
Mar 06 15:45:59 HiH kernel: BRK [0x109641000, 0x109641fff] PGTABLE
Mar 06 15:45:59 HiH kernel: RAMDISK: [mem 0x37215000-0x37901fff]
Mar 06 15:45:59 HiH kernel: ACPI: Early table checksum verification disabled
Mar 06 15:45:59 HiH kernel: ACPI: RSDP 0x00000000000F5AB0 000014 (v00 BOCHS )
Mar 06 15:45:59 HiH kernel: ACPI: RSDT 0x00000000BFFE15AB 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
Mar 06 15:45:59 HiH kernel: ACPI: FACP 0x00000000BFFE1437 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
Mar 06 15:45:59 HiH kernel: ACPI: DSDT 0x00000000BFFE0040 0013F7 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
Mar 06 15:45:59 HiH kernel: ACPI: FACS 0x00000000BFFE0000 000040
Mar 06 15:45:59 HiH kernel: ACPI: APIC 0x00000000BFFE152B 000080 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
Mar 06 15:45:59 HiH kernel: ACPI: Local APIC address 0xfee00000
Mar 06 15:45:59 HiH kernel: No NUMA configuration found
Mar 06 15:45:59 HiH kernel: Faking a node at [mem 0x0000000000000000-0x000000013fffffff]
Mar 06 15:45:59 HiH kernel: NODE_DATA(0) allocated [mem 0x13fffd000-0x13fffffff]
Mar 06 15:45:59 HiH kernel: kvm-clock: cpu 0, msr 1:3fff7001, primary cpu clock
Mar 06 15:45:59 HiH kernel: kvm-clock: Using msrs 4b564d01 and 4b564d00
Mar 06 15:45:59 HiH kernel: kvm-clock: using sched offset of 132945277525 cycles
Mar 06 15:45:59 HiH kernel: clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
Mar 06 15:45:59 HiH kernel: Zone ranges:
Mar 06 15:45:59 HiH kernel:   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
Mar 06 15:45:59 HiH kernel:   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
Mar 06 15:45:59 HiH kernel:   Normal   [mem 0x0000000100000000-0x000000013fffffff]
Mar 06 15:45:59 HiH kernel:   Device   empty
Mar 06 15:45:59 HiH kernel: Movable zone start for each node
Mar 06 15:45:59 HiH kernel: Early memory node ranges
Mar 06 15:45:59 HiH kernel:   node   0: [mem 0x0000000000001000-0x000000000009efff]
Mar 06 15:45:59 HiH kernel:   node   0: [mem 0x0000000000100000-0x00000000bffd8fff]
Mar 06 15:45:59 HiH kernel:   node   0: [mem 0x0000000100000000-0x000000013fffffff]
Mar 06 15:45:59 HiH kernel: Initmem setup node 0 [mem 0x0000000000001000-0x000000013fffffff]
Mar 06 15:45:59 HiH kernel: On node 0 totalpages: 1048439
Mar 06 15:45:59 HiH kernel:   DMA zone: 64 pages used for memmap
Mar 06 15:45:59 HiH kernel:   DMA zone: 21 pages reserved
Mar 06 15:45:59 HiH kernel:   DMA zone: 3998 pages, LIFO batch:0
Mar 06 15:45:59 HiH kernel:   DMA32 zone: 12224 pages used for memmap
Mar 06 15:45:59 HiH kernel:   DMA32 zone: 782297 pages, LIFO batch:31
Mar 06 15:45:59 HiH kernel:   Normal zone: 4096 pages used for memmap
Mar 06 15:45:59 HiH kernel:   Normal zone: 262144 pages, LIFO batch:31
Mar 06 15:45:59 HiH kernel: Reserved but unavailable: 98 pages
Mar 06 15:45:59 HiH kernel: ACPI: PM-Timer IO Port: 0x608
Mar 06 15:45:59 HiH kernel: ACPI: Local APIC address 0xfee00000
Mar 06 15:45:59 HiH kernel: ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
Mar 06 15:45:59 HiH kernel: IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
Mar 06 15:45:59 HiH kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
Mar 06 15:45:59 HiH kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
Mar 06 15:45:59 HiH kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Mar 06 15:45:59 HiH kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
Mar 06 15:45:59 HiH kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
Mar 06 15:45:59 HiH kernel: ACPI: IRQ0 used by override.
Mar 06 15:45:59 HiH kernel: ACPI: IRQ5 used by override.
Mar 06 15:45:59 HiH kernel: ACPI: IRQ9 used by override.
Mar 06 15:45:59 HiH kernel: ACPI: IRQ10 used by override.
Mar 06 15:45:59 HiH kernel: ACPI: IRQ11 used by override.
Mar 06 15:45:59 HiH kernel: Using ACPI (MADT) for SMP configuration information
Mar 06 15:45:59 HiH kernel: smpboot: Allowing 2 CPUs, 0 hotplug CPUs
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0xbffd9000-0xbfffffff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0xc0000000-0xfeffbfff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0xfeffc000-0xfeffffff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0xff000000-0xfffbffff]
Mar 06 15:45:59 HiH kernel: PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
Mar 06 15:45:59 HiH kernel: e820: [mem 0xc0000000-0xfeffbfff] available for PCI devices
Mar 06 15:45:59 HiH kernel: Booting paravirtualized kernel on KVM
Mar 06 15:45:59 HiH kernel: clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
Mar 06 15:45:59 HiH kernel: setup_percpu: NR_CPUS:320 nr_cpumask_bits:320 nr_cpu_ids:2 nr_node_ids:1
Mar 06 15:45:59 HiH kernel: percpu: Embedded 45 pages/cpu @        (ptrval) s147456 r8192 d28672 u1048576
Mar 06 15:45:59 HiH kernel: pcpu-alloc: s147456 r8192 d28672 u1048576 alloc=1*2097152
Mar 06 15:45:59 HiH kernel: pcpu-alloc: [0] 0 1 
Mar 06 15:45:59 HiH kernel: KVM setup async PF for cpu 0
Mar 06 15:45:59 HiH kernel: kvm-stealtime: cpu 0, msr 13fc23040
Mar 06 15:45:59 HiH kernel: Built 1 zonelists, mobility grouping on.  Total pages: 1032034
Mar 06 15:45:59 HiH kernel: Policy zone: Normal
Mar 06 15:45:59 HiH kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=f07320ef-9e6b-421a-882a-ba3bd83d81b1 rw quiet
Mar 06 15:45:59 HiH kernel: Calgary: detecting Calgary via BIOS EBDA area
Mar 06 15:45:59 HiH kernel: Calgary: Unable to locate Rio Grande table in EBDA - bailing!
Mar 06 15:45:59 HiH kernel: Memory: 4031836K/4193756K available (10252K kernel code, 1250K rwdata, 3224K rodata, 1432K init, 632K bss, 161920K reserved, 0K cma-reserved)
Mar 06 15:45:59 HiH kernel: SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Mar 06 15:45:59 HiH kernel: Kernel/User page tables isolation: enabled
Mar 06 15:45:59 HiH kernel: ftrace: allocating 31419 entries in 123 pages
Mar 06 15:45:59 HiH kernel: Preemptible hierarchical RCU implementation.
Mar 06 15:45:59 HiH kernel:         CONFIG_RCU_FANOUT set to non-default value of 32
Mar 06 15:45:59 HiH kernel:         RCU dyntick-idle grace-period acceleration is enabled.
Mar 06 15:45:59 HiH kernel:         RCU restricting CPUs from NR_CPUS=320 to nr_cpu_ids=2.
Mar 06 15:45:59 HiH kernel:         RCU priority boosting: priority 1 delay 500 ms.
Mar 06 15:45:59 HiH kernel:         Tasks RCU enabled.
Mar 06 15:45:59 HiH kernel: RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
Mar 06 15:45:59 HiH kernel: NR_IRQS: 20736, nr_irqs: 440, preallocated irqs: 16
Mar 06 15:45:59 HiH kernel:         Offload RCU callbacks from CPUs: .
Mar 06 15:45:59 HiH kernel: Console: colour dummy device 80x25
Mar 06 15:45:59 HiH kernel: console [tty0] enabled
Mar 06 15:45:59 HiH kernel: ACPI: Core revision 20170831
Mar 06 15:45:59 HiH kernel: ACPI: 1 ACPI AML tables successfully acquired and loaded
Mar 06 15:45:59 HiH kernel: APIC: Switch to symmetric I/O mode setup
Mar 06 15:45:59 HiH kernel: x2apic enabled
Mar 06 15:45:59 HiH kernel: Switched APIC routing to physical x2apic.
Mar 06 15:45:59 HiH kernel: ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
Mar 06 15:45:59 HiH kernel: tsc: Detected 2394.468 MHz processor
Mar 06 15:45:59 HiH kernel: Calibrating delay loop (skipped) preset value.. 4788.93 BogoMIPS (lpj=2394468)
Mar 06 15:45:59 HiH kernel: pid_max: default: 32768 minimum: 301
Mar 06 15:45:59 HiH kernel: Security Framework initialized
Mar 06 15:45:59 HiH kernel: Yama: becoming mindful.
Mar 06 15:45:59 HiH kernel: Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Mar 06 15:45:59 HiH kernel: Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Mar 06 15:45:59 HiH kernel: Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mar 06 15:45:59 HiH kernel: Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mar 06 15:45:59 HiH kernel: CPU: Physical Processor ID: 0
Mar 06 15:45:59 HiH kernel: mce: CPU supports 10 MCE banks
Mar 06 15:45:59 HiH kernel: Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
Mar 06 15:45:59 HiH kernel: Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
Mar 06 15:45:59 HiH kernel: Spectre V2 : Mitigation: Full generic retpoline
Mar 06 15:45:59 HiH kernel: Freeing SMP alternatives memory: 24K
Mar 06 15:45:59 HiH kernel: smpboot: CPU0: Intel Westmere E56xx/L56xx/X56xx (IBRS update) (family: 0x6, model: 0x2c, stepping: 0x1)
Mar 06 15:45:59 HiH kernel: Performance Events: unsupported p6 CPU model 44 no PMU driver, software events only.
Mar 06 15:45:59 HiH kernel: Hierarchical SRCU implementation.
Mar 06 15:45:59 HiH kernel: NMI watchdog: Perf event create on CPU 0 failed with -2
Mar 06 15:45:59 HiH kernel: NMI watchdog: Perf NMI watchdog permanently disabled
Mar 06 15:45:59 HiH kernel: smp: Bringing up secondary CPUs ...
Mar 06 15:45:59 HiH kernel: x86: Booting SMP configuration:
Mar 06 15:45:59 HiH kernel: .... node  #0, CPUs:      #1
Mar 06 15:45:59 HiH kernel: kvm-clock: cpu 1, msr 1:3fff7041, secondary cpu clock
Mar 06 15:45:59 HiH kernel: KVM setup async PF for cpu 1
Mar 06 15:45:59 HiH kernel: kvm-stealtime: cpu 1, msr 13fd23040
Mar 06 15:45:59 HiH kernel: smp: Brought up 1 node, 2 CPUs
Mar 06 15:45:59 HiH kernel: smpboot: Max logical packages: 2
Mar 06 15:45:59 HiH kernel: smpboot: Total of 2 processors activated (9577.87 BogoMIPS)
Mar 06 15:45:59 HiH kernel: devtmpfs: initialized
Mar 06 15:45:59 HiH kernel: x86/mm: Memory block size: 128MB
Mar 06 15:45:59 HiH kernel: clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
Mar 06 15:45:59 HiH kernel: futex hash table entries: 512 (order: 3, 32768 bytes)
Mar 06 15:45:59 HiH kernel: pinctrl core: initialized pinctrl subsystem
Mar 06 15:45:59 HiH kernel: RTC time:  7:45:57, date: 03/06/18
Mar 06 15:45:59 HiH kernel: NET: Registered protocol family 16
Mar 06 15:45:59 HiH kernel: cpuidle: using governor ladder
Mar 06 15:45:59 HiH kernel: cpuidle: using governor menu
Mar 06 15:45:59 HiH kernel: ACPI: bus type PCI registered
Mar 06 15:45:59 HiH kernel: acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
Mar 06 15:45:59 HiH kernel: PCI: Using configuration type 1 for base access
Mar 06 15:45:59 HiH kernel: HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
Mar 06 15:45:59 HiH kernel: ACPI: Added _OSI(Module Device)
Mar 06 15:45:59 HiH kernel: ACPI: Added _OSI(Processor Device)
Mar 06 15:45:59 HiH kernel: ACPI: Added _OSI(3.0 _SCP Extensions)
Mar 06 15:45:59 HiH kernel: ACPI: Added _OSI(Processor Aggregator Device)
Mar 06 15:45:59 HiH kernel: ACPI: Interpreter enabled
Mar 06 15:45:59 HiH kernel: ACPI: (supports S0 S5)
Mar 06 15:45:59 HiH kernel: ACPI: Using IOAPIC for interrupt routing
Mar 06 15:45:59 HiH kernel: PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
Mar 06 15:45:59 HiH kernel: ACPI: Enabled 2 GPEs in block 00 to 0F
Mar 06 15:45:59 HiH kernel: ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
Mar 06 15:45:59 HiH kernel: acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
Mar 06 15:45:59 HiH kernel: acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
Mar 06 15:45:59 HiH kernel: acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [3] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [4] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [6] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [7] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [8] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [9] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [10] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [11] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [12] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [13] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [14] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [15] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [16] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [17] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [18] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [19] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [20] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [21] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [22] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [23] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [24] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [25] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [26] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [27] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [28] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [29] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [30] registered
Mar 06 15:45:59 HiH kernel: acpiphp: Slot [31] registered
Mar 06 15:45:59 HiH kernel: PCI host bridge to bus 0000:00
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: root bus resource [mem 0x140000000-0x1bfffffff window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: root bus resource [bus 00-ff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.1: reg 0x20: [io  0xc140-0xc14f]
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: [1b36:0100] type 00 class 0x030000
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: reg 0x10: [mem 0xf4000000-0xf7ffffff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: reg 0x14: [mem 0xf8000000-0xfbffffff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: reg 0x18: [mem 0xfc054000-0xfc055fff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: reg 0x1c: [io  0xc080-0xc09f]
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: reg 0x30: [mem 0xfc040000-0xfc04ffff pref]
Mar 06 15:45:59 HiH kernel: pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000
Mar 06 15:45:59 HiH kernel: pci 0000:00:03.0: reg 0x10: [io  0xc0a0-0xc0bf]
Mar 06 15:45:59 HiH kernel: pci 0000:00:03.0: reg 0x14: [mem 0xfc056000-0xfc056fff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:03.0: reg 0x20: [mem 0xfebf0000-0xfebf3fff 64bit pref]
Mar 06 15:45:59 HiH kernel: pci 0000:00:03.0: reg 0x30: [mem 0xfc000000-0xfc03ffff pref]
Mar 06 15:45:59 HiH kernel: pci 0000:00:04.0: [8086:2668] type 00 class 0x040300
Mar 06 15:45:59 HiH kernel: pci 0000:00:04.0: reg 0x10: [mem 0xfc050000-0xfc053fff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.0: [8086:2934] type 00 class 0x0c0300
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.0: reg 0x20: [io  0xc0c0-0xc0df]
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.1: [8086:2935] type 00 class 0x0c0300
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.1: reg 0x20: [io  0xc0e0-0xc0ff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.2: [8086:2936] type 00 class 0x0c0300
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.2: reg 0x20: [io  0xc100-0xc11f]
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.7: [8086:293a] type 00 class 0x0c0320
Mar 06 15:45:59 HiH kernel: pci 0000:00:05.7: reg 0x10: [mem 0xfc057000-0xfc057fff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:06.0: [1af4:1003] type 00 class 0x078000
Mar 06 15:45:59 HiH kernel: pci 0000:00:06.0: reg 0x10: [io  0xc000-0xc03f]
Mar 06 15:45:59 HiH kernel: pci 0000:00:06.0: reg 0x14: [mem 0xfc058000-0xfc058fff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:06.0: reg 0x20: [mem 0xfebf4000-0xfebf7fff 64bit pref]
Mar 06 15:45:59 HiH kernel: pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000
Mar 06 15:45:59 HiH kernel: pci 0000:00:07.0: reg 0x10: [io  0xc040-0xc07f]
Mar 06 15:45:59 HiH kernel: pci 0000:00:07.0: reg 0x14: [mem 0xfc059000-0xfc059fff]
Mar 06 15:45:59 HiH kernel: pci 0000:00:07.0: reg 0x20: [mem 0xfebf8000-0xfebfbfff 64bit pref]
Mar 06 15:45:59 HiH kernel: pci 0000:00:08.0: [1af4:1002] type 00 class 0x00ff00
Mar 06 15:45:59 HiH kernel: pci 0000:00:08.0: reg 0x10: [io  0xc120-0xc13f]
Mar 06 15:45:59 HiH kernel: pci 0000:00:08.0: reg 0x20: [mem 0xfebfc000-0xfebfffff 64bit pref]
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: vgaarb: setting as boot VGA device
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: vgaarb: bridge control possible
Mar 06 15:45:59 HiH kernel: vgaarb: loaded
Mar 06 15:45:59 HiH kernel: EDAC MC: Ver: 3.0.0
Mar 06 15:45:59 HiH kernel: PCI: Using ACPI for IRQ routing
Mar 06 15:45:59 HiH kernel: PCI: pci_cache_line_size set to 64 bytes
Mar 06 15:45:59 HiH kernel: e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
Mar 06 15:45:59 HiH kernel: e820: reserve RAM buffer [mem 0xbffd9000-0xbfffffff]
Mar 06 15:45:59 HiH kernel: NetLabel: Initializing
Mar 06 15:45:59 HiH kernel: NetLabel:  domain hash size = 128
Mar 06 15:45:59 HiH kernel: NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
Mar 06 15:45:59 HiH kernel: NetLabel:  unlabeled traffic allowed by default
Mar 06 15:45:59 HiH kernel: clocksource: Switched to clocksource kvm-clock
Mar 06 15:45:59 HiH kernel: VFS: Disk quotas dquot_6.6.0
Mar 06 15:45:59 HiH kernel: VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Mar 06 15:45:59 HiH kernel: pnp: PnP ACPI init
Mar 06 15:45:59 HiH kernel: pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
Mar 06 15:45:59 HiH kernel: pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
Mar 06 15:45:59 HiH kernel: pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
Mar 06 15:45:59 HiH kernel: pnp 00:03: [dma 2]
Mar 06 15:45:59 HiH kernel: pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
Mar 06 15:45:59 HiH kernel: pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (active)
Mar 06 15:45:59 HiH kernel: pnp: PnP ACPI: found 5 devices
Mar 06 15:45:59 HiH kernel: clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfffff window]
Mar 06 15:45:59 HiH kernel: pci_bus 0000:00: resource 8 [mem 0x140000000-0x1bfffffff window]
Mar 06 15:45:59 HiH kernel: NET: Registered protocol family 2
Mar 06 15:45:59 HiH kernel: TCP established hash table entries: 32768 (order: 6, 262144 bytes)
Mar 06 15:45:59 HiH kernel: TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
Mar 06 15:45:59 HiH kernel: TCP: Hash tables configured (established 32768 bind 32768)
Mar 06 15:45:59 HiH kernel: UDP hash table entries: 2048 (order: 4, 65536 bytes)
Mar 06 15:45:59 HiH kernel: UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
Mar 06 15:45:59 HiH kernel: NET: Registered protocol family 1
Mar 06 15:45:59 HiH kernel: pci 0000:00:00.0: Limiting direct PCI/PCI transfers
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.0: PIIX3: Enabling Passive Release
Mar 06 15:45:59 HiH kernel: pci 0000:00:01.0: Activating ISA DMA hang workarounds
Mar 06 15:45:59 HiH kernel: pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
Mar 06 15:45:59 HiH kernel: ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
Mar 06 15:45:59 HiH kernel: PCI: CLS 0 bytes, default 64
Mar 06 15:45:59 HiH kernel: Unpacking initramfs...
Mar 06 15:45:59 HiH kernel: Freeing initrd memory: 7092K
Mar 06 15:45:59 HiH kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Mar 06 15:45:59 HiH kernel: software IO TLB [mem 0xbbfd9000-0xbffd9000] (64MB) mapped at [00000000adbc5f61-00000000d42e78cc]
Mar 06 15:45:59 HiH kernel: Scanning for low memory corruption every 60 seconds
Mar 06 15:45:59 HiH kernel: Initialise system trusted keyrings
Mar 06 15:45:59 HiH kernel: Key type blacklist registered
Mar 06 15:45:59 HiH kernel: workingset: timestamp_bits=44 max_order=20 bucket_order=0
Mar 06 15:45:59 HiH kernel: zbud: loaded
Mar 06 15:45:59 HiH kernel: Key type asymmetric registered
Mar 06 15:45:59 HiH kernel: Asymmetric key parser 'x509' registered
Mar 06 15:45:59 HiH kernel: Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
Mar 06 15:45:59 HiH kernel: io scheduler noop registered
Mar 06 15:45:59 HiH kernel: io scheduler deadline registered
Mar 06 15:45:59 HiH kernel: io scheduler cfq registered (default)
Mar 06 15:45:59 HiH kernel: io scheduler mq-deadline registered
Mar 06 15:45:59 HiH kernel: io scheduler kyber registered
Mar 06 15:45:59 HiH kernel: io scheduler bfq registered
Mar 06 15:45:59 HiH kernel: vesafb: mode is 640x480x32, linelength=2560, pages=0
Mar 06 15:45:59 HiH kernel: vesafb: scrolling: redraw
Mar 06 15:45:59 HiH kernel: vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
Mar 06 15:45:59 HiH kernel: vesafb: framebuffer at 0xf4000000, mapped to 0x000000002b05381b, using 1216k, total 1216k
Mar 06 15:45:59 HiH kernel: Console: switching to colour frame buffer device 80x30
Mar 06 15:45:59 HiH kernel: fb0: VESA VGA frame buffer device
Mar 06 15:45:59 HiH kernel: intel_idle: Please enable MWAIT in BIOS SETUP
Mar 06 15:45:59 HiH kernel: input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
Mar 06 15:45:59 HiH kernel: ACPI: Power Button [PWRF]
Mar 06 15:45:59 HiH kernel: Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
Mar 06 15:45:59 HiH kernel: 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
Mar 06 15:45:59 HiH kernel: ledtrig-cpu: registered to indicate activity on CPUs
Mar 06 15:45:59 HiH kernel: NET: Registered protocol family 10
Mar 06 15:45:59 HiH kernel: Segment Routing with IPv6
Mar 06 15:45:59 HiH kernel: NET: Registered protocol family 17
Mar 06 15:45:59 HiH kernel: RAS: Correctable Errors collector initialized.
Mar 06 15:45:59 HiH kernel: sched_clock: Marking stable (404003668, 0)->(643135798, -239132130)
Mar 06 15:45:59 HiH kernel: registered taskstats version 1
Mar 06 15:45:59 HiH kernel: Loading compiled-in X.509 certificates
Mar 06 15:45:59 HiH kernel: zswap: loaded using pool lzo/zbud
Mar 06 15:45:59 HiH kernel: Key type big_key registered
Mar 06 15:45:59 HiH kernel:   Magic number: 10:407:773
Mar 06 15:45:59 HiH kernel: hctosys: unable to open rtc device (rtc0)
Mar 06 15:45:59 HiH kernel: Freeing unused kernel memory: 1432K
Mar 06 15:45:59 HiH kernel: Write protecting the kernel read-only data: 16384k
Mar 06 15:45:59 HiH kernel: Freeing unused kernel memory: 2016K
Mar 06 15:45:59 HiH kernel: Freeing unused kernel memory: 872K
Mar 06 15:45:59 HiH kernel: i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
Mar 06 15:45:59 HiH kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Mar 06 15:45:59 HiH kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Mar 06 15:45:59 HiH kernel: SCSI subsystem initialized
Mar 06 15:45:59 HiH kernel: libata version 3.00 loaded.
Mar 06 15:45:59 HiH kernel: ata_piix 0000:00:01.1: version 2.13
Mar 06 15:45:59 HiH kernel: ACPI: bus type USB registered
Mar 06 15:45:59 HiH kernel: usbcore: registered new interface driver usbfs
Mar 06 15:45:59 HiH kernel: usbcore: registered new interface driver hub
Mar 06 15:45:59 HiH kernel: usbcore: registered new device driver usb
Mar 06 15:45:59 HiH kernel: scsi host0: ata_piix
Mar 06 15:45:59 HiH kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Mar 06 15:45:59 HiH kernel: ehci-pci: EHCI PCI platform driver
Mar 06 15:45:59 HiH kernel: scsi host1: ata_piix
Mar 06 15:45:59 HiH kernel: ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc140 irq 14
Mar 06 15:45:59 HiH kernel: ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc148 irq 15
Mar 06 15:45:59 HiH kernel: FDC 0 is a S82078B
Mar 06 15:45:59 HiH kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
Mar 06 15:45:59 HiH kernel: ehci-pci 0000:00:05.7: EHCI Host Controller
Mar 06 15:45:59 HiH kernel: ehci-pci 0000:00:05.7: new USB bus registered, assigned bus number 1
Mar 06 15:45:59 HiH kernel: ehci-pci 0000:00:05.7: irq 10, io mem 0xfc057000
Mar 06 15:45:59 HiH kernel: ehci-pci 0000:00:05.7: USB 2.0 started, EHCI 1.00
Mar 06 15:45:59 HiH kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Mar 06 15:45:59 HiH kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Mar 06 15:45:59 HiH kernel: usb usb1: Product: EHCI Host Controller
Mar 06 15:45:59 HiH kernel: usb usb1: Manufacturer: Linux 4.15.7-1-ARCH ehci_hcd
Mar 06 15:45:59 HiH kernel: usb usb1: SerialNumber: 0000:00:05.7
Mar 06 15:45:59 HiH kernel: hub 1-0:1.0: USB hub found
Mar 06 15:45:59 HiH kernel: hub 1-0:1.0: 6 ports detected
Mar 06 15:45:59 HiH kernel: uhci_hcd: USB Universal Host Controller Interface driver
Mar 06 15:45:59 HiH kernel:  vda: vda1 vda2
Mar 06 15:45:59 HiH kernel: ata1.01: NODEV after polling detection
Mar 06 15:45:59 HiH kernel: ata1.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
Mar 06 15:45:59 HiH kernel: ata1.00: configured for MWDMA2
Mar 06 15:45:59 HiH kernel: scsi 0:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.0: UHCI Host Controller
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.0: new USB bus registered, assigned bus number 2
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.0: detected 2 ports
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.0: irq 10, io base 0x0000c0c0
Mar 06 15:45:59 HiH kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
Mar 06 15:45:59 HiH kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Mar 06 15:45:59 HiH kernel: usb usb2: Product: UHCI Host Controller
Mar 06 15:45:59 HiH kernel: usb usb2: Manufacturer: Linux 4.15.7-1-ARCH uhci_hcd
Mar 06 15:45:59 HiH kernel: usb usb2: SerialNumber: 0000:00:05.0
Mar 06 15:45:59 HiH kernel: hub 2-0:1.0: USB hub found
Mar 06 15:45:59 HiH kernel: hub 2-0:1.0: 2 ports detected
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.1: UHCI Host Controller
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.1: new USB bus registered, assigned bus number 3
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.1: detected 2 ports
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.1: irq 11, io base 0x0000c0e0
Mar 06 15:45:59 HiH kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
Mar 06 15:45:59 HiH kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Mar 06 15:45:59 HiH kernel: usb usb3: Product: UHCI Host Controller
Mar 06 15:45:59 HiH kernel: usb usb3: Manufacturer: Linux 4.15.7-1-ARCH uhci_hcd
Mar 06 15:45:59 HiH kernel: usb usb3: SerialNumber: 0000:00:05.1
Mar 06 15:45:59 HiH kernel: hub 3-0:1.0: USB hub found
Mar 06 15:45:59 HiH kernel: hub 3-0:1.0: 2 ports detected
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.2: UHCI Host Controller
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.2: new USB bus registered, assigned bus number 4
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.2: detected 2 ports
Mar 06 15:45:59 HiH kernel: uhci_hcd 0000:00:05.2: irq 11, io base 0x0000c100
Mar 06 15:45:59 HiH kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
Mar 06 15:45:59 HiH kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Mar 06 15:45:59 HiH kernel: usb usb4: Product: UHCI Host Controller
Mar 06 15:45:59 HiH kernel: usb usb4: Manufacturer: Linux 4.15.7-1-ARCH uhci_hcd
Mar 06 15:45:59 HiH kernel: usb usb4: SerialNumber: 0000:00:05.2
Mar 06 15:45:59 HiH kernel: hub 4-0:1.0: USB hub found
Mar 06 15:45:59 HiH kernel: hub 4-0:1.0: 2 ports detected
Mar 06 15:45:59 HiH kernel: sr 0:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
Mar 06 15:45:59 HiH kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
Mar 06 15:45:59 HiH kernel: sr 0:0:0:0: Attached scsi CD-ROM sr0
Mar 06 15:45:59 HiH kernel: usb 1-1: new high-speed USB device number 2 using ehci-pci
Mar 06 15:45:59 HiH kernel: EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
Mar 06 15:45:59 HiH kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Mar 06 15:45:59 HiH systemd[1]: systemd 237 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN +PCRE2 default-hierarchy=hybrid)
Mar 06 15:45:59 HiH systemd[1]: Detected virtualization kvm.
Mar 06 15:45:59 HiH systemd[1]: Detected architecture x86-64.
Mar 06 15:45:59 HiH systemd[1]: Set hostname to <HiH>.
Mar 06 15:45:59 HiH kernel: usb 1-1: New USB device found, idVendor=0627, idProduct=0001
Mar 06 15:45:59 HiH kernel: usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=5
Mar 06 15:45:59 HiH kernel: usb 1-1: Product: QEMU USB Tablet
Mar 06 15:45:59 HiH kernel: usb 1-1: Manufacturer: QEMU
Mar 06 15:45:59 HiH kernel: usb 1-1: SerialNumber: 42
Mar 06 15:45:59 HiH systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
Mar 06 15:45:59 HiH systemd[1]: Created slice User and Session Slice.
Mar 06 15:45:59 HiH systemd[1]: Reached target Remote File Systems.
Mar 06 15:45:59 HiH systemd[1]: Created slice System Slice.
Mar 06 15:45:59 HiH systemd[1]: Listening on udev Kernel Socket.
Mar 06 15:45:59 HiH systemd[1]: Listening on LVM2 metadata daemon socket.
Mar 06 15:45:59 HiH kernel: EXT4-fs (vda1): re-mounted. Opts: data=ordered
Mar 06 15:45:59 HiH systemd-journald[192]: Journal started
Mar 06 15:45:59 HiH systemd-journald[192]: Runtime journal (/run/log/journal/c0a38487f83b4211a244de7d8c9ebc7f) is 8.0M, max 197.4M, 189.4M free.
Mar 06 15:45:59 HiH systemd[1]: Starting Flush Journal to Persistent Storage...
Mar 06 15:45:59 HiH systemd-journald[192]: Time spent on flushing to /var is 18.699ms for 469 entries.
Mar 06 15:45:59 HiH systemd-journald[192]: System journal (/var/log/journal/c0a38487f83b4211a244de7d8c9ebc7f) is 8.0M, max 748.3M, 740.3M free.
Mar 06 15:45:59 HiH systemd[1]: Started udev Coldplug all Devices.
Mar 06 15:45:59 HiH systemd[1]: Started Flush Journal to Persistent Storage.
Mar 06 15:45:59 HiH kernel: rtc_cmos 00:00: RTC can wake from S4
Mar 06 15:45:59 HiH systemd-udevd[218]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Mar 06 15:45:59 HiH kernel: rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
Mar 06 15:45:59 HiH kernel: rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
Mar 06 15:45:59 HiH kernel: virtio_net virtio0 ens3: renamed from eth0
Mar 06 15:45:59 HiH kernel: piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
Mar 06 15:45:59 HiH kernel: Linux agpgart interface v0.103
Mar 06 15:45:59 HiH kernel: input: PC Speaker as /devices/platform/pcspkr/input/input3
Mar 06 15:45:59 HiH systemd[1]: Found device /dev/disk/by-uuid/bc17c351-ba34-45c5-8ba8-b0e0d061a5c3.
Mar 06 15:45:59 HiH systemd[1]: Failed to parse swap priority "defaults,pri=-2", ignoring: Numerical result out of range
Mar 06 15:45:59 HiH systemd[1]: Activating swap /dev/disk/by-uuid/bc17c351-ba34-45c5-8ba8-b0e0d061a5c3...
Mar 06 15:45:59 HiH kernel: Adding 535548k swap on /dev/vda2.  Priority:-2 extents:1 across:535548k FS
Mar 06 15:45:59 HiH systemd[1]: Activated swap /dev/disk/by-uuid/bc17c351-ba34-45c5-8ba8-b0e0d061a5c3.
Mar 06 15:45:59 HiH systemd[1]: Reached target Swap.
Mar 06 15:45:59 HiH systemd[1]: Mounting Temporary Directory (/tmp)...
Mar 06 15:45:59 HiH systemd[1]: Mounted Temporary Directory (/tmp).
Mar 06 15:45:59 HiH kernel: hidraw: raw HID events driver (C) Jiri Kosina
Mar 06 15:45:59 HiH kernel: usbcore: registered new interface driver usbhid
Mar 06 15:45:59 HiH kernel: usbhid: USB HID core driver
Mar 06 15:45:59 HiH systemd-udevd[211]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Mar 06 15:45:59 HiH kernel: SSE version of gcm_enc/dec engaged.
Mar 06 15:45:59 HiH kernel: input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:05.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input5
Mar 06 15:45:59 HiH kernel: hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:05.7-1/input0
Mar 06 15:45:59 HiH systemd[1]: Started Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
Mar 06 15:45:59 HiH systemd[1]: Reached target Local File Systems (Pre).
Mar 06 15:45:59 HiH systemd[1]: Reached target Local File Systems.
Mar 06 15:45:59 HiH systemd[1]: Starting Create Volatile Files and Directories...
Mar 06 15:45:59 HiH kernel: mousedev: PS/2 mouse device common for all mice
Mar 06 15:45:59 HiH systemd[1]: Started Create Volatile Files and Directories.
Mar 06 15:45:59 HiH systemd[1]: Starting Update UTMP about System Boot/Shutdown...
Mar 06 15:45:59 HiH systemd[1]: Started Update UTMP about System Boot/Shutdown.
Mar 06 15:45:59 HiH systemd[1]: Reached target System Initialization.
Mar 06 15:45:59 HiH systemd[1]: Started Daily verification of password and group files.
Mar 06 15:45:59 HiH systemd[1]: Started Daily Cleanup of Temporary Directories.
Mar 06 15:45:59 HiH systemd[1]: Listening on D-Bus System Message Bus Socket.
Mar 06 15:45:59 HiH systemd[1]: Reached target Sockets.
Mar 06 15:45:59 HiH systemd[1]: Reached target Basic System.
Mar 06 15:45:59 HiH systemd[1]: Starting Login Service...
Mar 06 15:45:59 HiH systemd[1]: Starting dhcpcd on all interfaces...
Mar 06 15:45:59 HiH systemd[1]: Started Daily rotation of log files.
Mar 06 15:45:59 HiH systemd[1]: Started D-Bus System Message Bus.
Mar 06 15:45:59 HiH dhcpcd[248]: dev: loaded udev
Mar 06 15:45:59 HiH systemd-logind[247]: New seat seat0.
Mar 06 15:45:59 HiH systemd-logind[247]: Watching system buttons on /dev/input/event0 (Power Button)
Mar 06 15:45:59 HiH systemd-logind[247]: Watching system buttons on /dev/input/event1 (AT Translated Set 2 keyboard)
Mar 06 15:45:59 HiH systemd[1]: Started Login Service.
Mar 06 15:45:59 HiH systemd[1]: Started Daily man-db cache update.
Mar 06 15:45:59 HiH kernel: 8021q: 802.1Q VLAN Support v1.8
Mar 06 15:45:59 HiH systemd[1]: Reached target Timers.
Mar 06 15:45:59 HiH systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Mar 06 15:45:59 HiH kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database
Mar 06 15:45:59 HiH kernel: tsc: Refined TSC clocksource calibration: 2394.469 MHz
Mar 06 15:45:59 HiH kernel: clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2283ceb882b, max_idle_ns: 440795321847 ns
Mar 06 15:45:59 HiH kernel: snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=1 (0x3/0x0/0x0/0x0/0x0) type:line
Mar 06 15:45:59 HiH kernel: snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Mar 06 15:45:59 HiH kernel: snd_hda_codec_generic hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
Mar 06 15:45:59 HiH kernel: snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
Mar 06 15:45:59 HiH kernel: snd_hda_codec_generic hdaudioC0D0:    inputs:
Mar 06 15:45:59 HiH kernel: snd_hda_codec_generic hdaudioC0D0:      Line=0x5
Mar 06 15:45:59 HiH kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Mar 06 15:45:59 HiH systemd[1]: Starting Save/Restore Sound Card State...
Mar 06 15:45:59 HiH kernel: platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Mar 06 15:45:59 HiH kernel: cfg80211: failed to load regulatory.db
Mar 06 15:45:59 HiH dhcpcd[248]: forked to background, child pid 275
Mar 06 15:45:59 HiH systemd[1]: Started dhcpcd on all interfaces.
Mar 06 15:45:59 HiH systemd[1]: Reached target Network.
Mar 06 15:45:59 HiH systemd[1]: Starting Permit User Sessions...
Mar 06 15:45:59 HiH systemd[1]: Started Save/Restore Sound Card State.
Mar 06 15:45:59 HiH systemd[1]: Reached target Sound Card.
Mar 06 15:45:59 HiH systemd[1]: Started Permit User Sessions.
Mar 06 15:45:59 HiH systemd[1]: Started Getty on tty1.
Mar 06 15:45:59 HiH systemd[1]: Reached target Login Prompts.
Mar 06 15:45:59 HiH systemd[1]: Reached target Multi-User System.
Mar 06 15:45:59 HiH systemd[1]: Reached target Graphical Interface.
Mar 06 15:45:59 HiH systemd[1]: Startup finished in 967ms (kernel) + 434ms (userspace) = 1.401s.
Mar 06 15:45:59 HiH dhcpcd[275]: ens3: waiting for carrier
Mar 06 15:45:59 HiH kernel: IPv6: ADDRCONF(NETDEV_UP): ens3: link is not ready
Mar 06 15:45:59 HiH kernel: 8021q: adding VLAN 0 to HW filter on device ens3
Mar 06 15:45:59 HiH kernel: [drm] Device Version 0.0
Mar 06 15:45:59 HiH kernel: [drm] Compression level 0 log level 0
Mar 06 15:45:59 HiH kernel: [drm] 12286 io pages at offset 0x1000000
Mar 06 15:45:59 HiH kernel: [drm] 16777216 byte draw area at offset 0x0
Mar 06 15:45:59 HiH kernel: [drm] RAM header offset: 0x3ffe000
Mar 06 15:45:59 HiH kernel: [TTM] Zone  kernel: Available graphics memory: 2021636 kiB
Mar 06 15:45:59 HiH kernel: [TTM] Initializing pool allocator
Mar 06 15:45:59 HiH kernel: [TTM] Initializing DMA pool allocator
Mar 06 15:45:59 HiH kernel: [drm] qxl: 16M of VRAM memory size
Mar 06 15:45:59 HiH kernel: [drm] qxl: 63M of IO pages memory ready (VRAM domain)
Mar 06 15:45:59 HiH kernel: [drm] qxl: 64M of Surface memory size
Mar 06 15:45:59 HiH kernel: [drm] main mem slot 1 [f4000000,3ffe000]
Mar 06 15:45:59 HiH kernel: [drm] surface mem slot 2 [f8000000,4000000]
Mar 06 15:45:59 HiH kernel: [drm] fb mappable at 0xF4000000, size 3145728
Mar 06 15:45:59 HiH kernel: [drm] fb: depth 24, pitch 4096, width 1024, height 768
Mar 06 15:45:59 HiH kernel: checking generic (f4000000 130000) vs hw (f4000000 1000000)
Mar 06 15:45:59 HiH kernel: fb: switching to qxldrmfb from VESA VGA
Mar 06 15:45:59 HiH kernel: Console: switching to colour dummy device 80x25
Mar 06 15:45:59 HiH kernel: fbcon: qxldrmfb (fb0) is primary device
Mar 06 15:45:59 HiH kernel: Console: switching to colour frame buffer device 128x48
Mar 06 15:45:59 HiH kernel: qxl 0000:00:02.0: fb0: qxldrmfb frame buffer device
Mar 06 15:45:59 HiH kernel: [drm] Initialized qxl 0.1.0 20120117 for 0000:00:02.0 on minor 0
Mar 06 15:45:59 HiH kernel: IPv6: ADDRCONF(NETDEV_CHANGE): ens3: link becomes ready
Mar 06 15:45:59 HiH dhcpcd[275]: ens3: carrier acquired
Mar 06 15:45:59 HiH dhcpcd[275]: DUID 00:01:00:01:22:30:b0:c7:52:54:00:49:41:2a
Mar 06 15:45:59 HiH dhcpcd[275]: ens3: IAID 00:56:9f:87
Mar 06 15:45:59 HiH dhcpcd[275]: ens3: adding address fe80::cb3:4ca8:5568:1813
Mar 06 15:46:00 HiH dhcpcd[275]: ens3: rebinding lease of 192.168.3.3
Mar 06 15:46:00 HiH dhcpcd[275]: ens3: probing address 192.168.3.3/24
Mar 06 15:46:00 HiH dhcpcd[275]: ens3: soliciting an IPv6 router
Mar 06 15:46:00 HiH kernel: input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
Mar 06 15:46:03 HiH kernel: random: crng init done
Mar 06 15:46:05 HiH dhcpcd[275]: ens3: leased 192.168.3.3 for 86400 seconds
Mar 06 15:46:05 HiH dhcpcd[275]: ens3: adding route to 192.168.3.0/24
Mar 06 15:46:05 HiH dhcpcd[275]: ens3: adding default route via 192.168.3.1
Mar 06 15:46:05 HiH login[279]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Mar 06 15:46:05 HiH systemd[1]: Created slice User Slice of root.
Mar 06 15:46:05 HiH systemd[1]: Starting User Manager for UID 0...
Mar 06 15:46:05 HiH systemd-logind[247]: New session c1 of user root.
Mar 06 15:46:05 HiH systemd[1]: Started Session c1 of user root.
Mar 06 15:46:05 HiH systemd[304]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Mar 06 15:46:05 HiH systemd[304]: Listening on GnuPG network certificate management daemon.
Mar 06 15:46:05 HiH systemd[304]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Mar 06 15:46:05 HiH systemd[304]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 06 15:46:05 HiH systemd[304]: Reached target Timers.
Mar 06 15:46:05 HiH systemd[304]: Starting D-Bus User Message Bus Socket.
Mar 06 15:46:05 HiH systemd[304]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Mar 06 15:46:05 HiH systemd[304]: Reached target Paths.
Mar 06 15:46:05 HiH systemd[304]: Listening on GnuPG cryptographic agent and passphrase cache.
Mar 06 15:46:05 HiH systemd[304]: Listening on D-Bus User Message Bus Socket.
Mar 06 15:46:05 HiH systemd[304]: Reached target Sockets.
Mar 06 15:46:05 HiH systemd[304]: Reached target Basic System.
Mar 06 15:46:05 HiH systemd[304]: Reached target Default.
Mar 06 15:46:05 HiH systemd[1]: Started User Manager for UID 0.
Mar 06 15:46:05 HiH systemd[304]: Startup finished in 27ms.
Mar 06 15:46:05 HiH login[279]: ROOT LOGIN ON tty1
Mar 06 15:46:13 HiH dhcpcd[275]: ens3: no IPv6 Routers available
Mar 06 15:46:17 HiH passwd[338]: pam_unix(passwd:chauthtok): password changed for john
Mar 06 15:46:20 HiH login[279]: pam_unix(login:session): session closed for user root
Mar 06 15:46:20 HiH systemd[1]: getty@tty1.service: Service has no hold-off time, scheduling restart.
Mar 06 15:46:20 HiH systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 1.
Mar 06 15:46:20 HiH systemd[1]: Stopped Getty on tty1.
Mar 06 15:46:20 HiH systemd[1]: Started Getty on tty1.
Mar 06 15:46:20 HiH systemd-logind[247]: Removed session c1.
Mar 06 15:46:20 HiH systemd[1]: Stopping User Manager for UID 0...
Mar 06 15:46:20 HiH systemd[304]: Stopped target Default.
Mar 06 15:46:20 HiH systemd[304]: Stopped target Basic System.
Mar 06 15:46:20 HiH systemd[304]: Stopped target Paths.
Mar 06 15:46:20 HiH systemd[304]: Stopped target Sockets.
Mar 06 15:46:20 HiH systemd[304]: Closed D-Bus User Message Bus Socket.
Mar 06 15:46:20 HiH systemd[304]: Closed GnuPG network certificate management daemon.
Mar 06 15:46:20 HiH systemd[304]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 06 15:46:20 HiH systemd[304]: Closed GnuPG cryptographic agent and passphrase cache.
Mar 06 15:46:20 HiH systemd[304]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Mar 06 15:46:20 HiH systemd[304]: Stopped target Timers.
Mar 06 15:46:20 HiH systemd[304]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Mar 06 15:46:20 HiH systemd[304]: Reached target Shutdown.
Mar 06 15:46:20 HiH systemd[304]: Starting Exit the Session...
Mar 06 15:46:20 HiH systemd[304]: Received SIGRTMIN+24 from PID 343 (kill).
Mar 06 15:46:20 HiH systemd[1]: Stopped User Manager for UID 0.
Mar 06 15:46:20 HiH systemd[1]: Removed slice User Slice of root.
Mar 06 15:46:26 HiH login[342]: FAILED LOGIN 1 FROM tty1 FOR john, Authentication failure
Mar 06 15:46:33 HiH login[342]: FAILED LOGIN 2 FROM tty1 FOR john, Authentication failure
Mar 06 15:46:41 HiH login[342]: FAILED LOGIN 3 FROM tty1 FOR john, Authentication failure
Mar 06 15:46:49 HiH login[342]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Mar 06 15:46:49 HiH systemd[1]: Created slice User Slice of root.
Mar 06 15:46:49 HiH systemd[1]: Starting User Manager for UID 0...
Mar 06 15:46:49 HiH systemd-logind[247]: New session c2 of user root.
Mar 06 15:46:49 HiH systemd[1]: Started Session c2 of user root.
Mar 06 15:46:49 HiH systemd[348]: pam_unix(systemd-user:session): session opened for user root by (uid=0)
Mar 06 15:46:49 HiH systemd[348]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Mar 06 15:46:49 HiH systemd[348]: Reached target Timers.
Mar 06 15:46:49 HiH systemd[348]: Listening on GnuPG cryptographic agent and passphrase cache.
Mar 06 15:46:49 HiH systemd[348]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Mar 06 15:46:49 HiH systemd[348]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Mar 06 15:46:49 HiH systemd[348]: Listening on GnuPG network certificate management daemon.
Mar 06 15:46:49 HiH systemd[348]: Reached target Paths.
Mar 06 15:46:49 HiH systemd[348]: Starting D-Bus User Message Bus Socket.
Mar 06 15:46:49 HiH systemd[348]: Listening on D-Bus User Message Bus Socket.
Mar 06 15:46:49 HiH systemd[348]: Reached target Sockets.
Mar 06 15:46:49 HiH systemd[348]: Reached target Basic System.
Mar 06 15:46:49 HiH systemd[1]: Started User Manager for UID 0.
Mar 06 15:46:49 HiH systemd[348]: Reached target Default.
Mar 06 15:46:49 HiH systemd[348]: Startup finished in 17ms.
Mar 06 15:46:50 HiH login[342]: ROOT LOGIN ON tty1
Mar 06 16:01:10 HiH systemd[1]: Starting Cleanup of Temporary Directories...
Mar 06 16:01:10 HiH systemd[1]: Started Cleanup of Temporary Directories.

话说,把日志从系统里弄出来费了一番功夫。


上面的日志,能看到是哪有问题么?


.


开源/Linux大众化,从驿窗开始~

离线

#4 2018-03-06 19:21:31

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,922
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

没看出来问题。多尝试一下吧,比如 su john,getent passwd john,id john,grep john /etc/passwd 都试试。
另外可以 strace -f -p xxx 去跟踪一下那个 login 进程。

离线

#5 2018-03-06 20:40:40

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

我都试试,不行我就重装,反正是虚拟机。


开源/Linux大众化,从驿窗开始~

离线

#6 2018-03-06 22:17:34

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

1、删除有问题的arch安装,重新开始了一个全新的安装,仍报同样的错误;

2、因为是在虚拟机(virt-manager/kvm)里安装,怀疑是host出问题,直接重启host,然后再新建立一个虚拟机安装,报同样的错误;

3、关掉virt-manager,启动virtualbox,然后在virtualbox里安装,报同样的错误:

错误都是上面的 Login incorrect;

安装使用的iso是刚从 archlinux.org 下载的 archlinux-2018.03.01-x86_64.iso,验证过SHA1无误;

安装过程完全按照本论坛安装指南来操作:
https://bbs.archlinuxcn.org/viewtopic.php?id=5066

useradd后直接用新用户登录,或者重启系统再用新用户登录,都会提示 Login incorrect;

我现在很想知道,这个版本有人试过没?
或者,我有什么办法来确认是不是iso问题?麻烦的是以前的iso版本我都给删除了,谁有的话,传我一份,我就可以测试了。


.


开源/Linux大众化,从驿窗开始~

离线

#7 2018-03-06 22:40:45

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,922
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

我又看了一遍帖子,然后……你要不要 cat /etc/shells 看一下?

离线

#8 2018-03-07 06:50:06

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

我刚把虚拟机源换成 ustc 的 https源重新安装(更换之前先从https://www.archlinux.org/mirrorlist/ 确认可用的cn https源),故障依旧;
虚拟机 root 登录运行 cat /etc/shells,提示如下:

# Pathnames of valid login shells
# See shells(5) for details

/bin/sh
/bin/bash

百思不得解..

最近编辑记录 驿窗 (2018-03-07 06:53:29)


开源/Linux大众化,从驿窗开始~

离线

#9 2018-03-07 13:01:39

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,922
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

piter 说:
# Pathnames of valid login shells
# See shells(5) for details

/bin/sh
/bin/bash

百思不得解..

就算你不知道 /etc/shells 是干什么的,上方的注释不是写了嘛……

离线

#10 2018-03-07 14:09:06

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

不是对/etc/shells不得解,是对Login incorrect不得解;

故障可以固定的重现,一定是有什么地方出错了,就是没找到在哪。


开源/Linux大众化,从驿窗开始~

离线

#11 2018-03-07 14:30:47

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,922
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

piter 说:

不是对/etc/shells不得解,是对Login incorrect不得解;

故障可以固定的重现,一定是有什么地方出错了,就是没找到在哪。

你的 /etc/shells 里没有你为用户指定的 /usr/bin/bash 啊。

离线

#12 2018-03-07 14:45:20

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

仙子,按你的提示,果然可以;

useradd -m -g users -s /usr/bin/bash john
改成
useradd -m -g users -s /bin/bash john

用john登录就没问题了。

对linux的理解,又加深了一点点。

-------------------------------
nopriler在编辑指南之前,是不是也排位了,哈哈~

.

最近编辑记录 驿窗 (2018-03-07 14:46:42)


开源/Linux大众化,从驿窗开始~

离线

#13 2018-03-07 19:27:06

nopriler
会员
注册时间: 2012-01-03
帖子: 393

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

这条命令怕是好几年没碰过了,你是第一个指出有问题的。

我的错,不好意思。

:-(

离线

#14 2018-03-07 23:03:43

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

太谦虚了~

三十多万次的浏览记录(而且12年到今天一直有更新),足以证明贡献巨大;

能为这样的帖子添砖加瓦,很荣幸~

.


开源/Linux大众化,从驿窗开始~

离线

#15 2018-03-08 10:59:36

xtricman
エクス·トリクマン
注册时间: 2012-12-26
帖子: 1,267

Re: 已解决:useradd -m -g users -s /usr/bin/bash john ,passwd john后不能登录

以前我也遇到过一次,用户数据库记录的shell不是合法的shell(当时想改成python做实验,才第一次意识到这个问题的存在)


反社会,精神极其不稳定,随时可能炸碎身边所有人

离线

页脚