You are not logged in.
Hey there. I've recently installed Arch Linux and I'd really need help with logging in as the user I've made separate from root. For some reason I can't really enter as him despite the login and password being the same and home directory existing in the folder. I've even tried to install accountsservice for it to work.
I don't really know what happened as the folder with passwd shows everything is fine.
Last edited by MaxSpec (2020-05-19 19:17:57)
Offline
Show us the out put of your failed login attempt at a TTY and the system's journal after that.
Inofficial first vice president of the Rust Evangelism Strike Force
Online
Doing su - dan works fine for some reason.
Here's what it says:
[+0.16s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.16s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=497
[+0.16s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.16s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.16s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.16s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.16s] DEBUG: Registered seat module local
[+0.16s] DEBUG: Registered seat module xremote
[+0.16s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.17s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.17s] DEBUG: Monitoring logind for seats
[+0.17s] DEBUG: New seat added from logind: seat0
[+0.17s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.17s] DEBUG: Seat seat0: Starting
[+0.17s] DEBUG: Seat seat0: Creating greeter session
[+0.27s] DEBUG: Seat seat0: Creating display server of type x
[+0.27s] DEBUG: posix_spawn avoided (fd close requested)
[+0.27s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.27s] DEBUG: Using VT 7
[+0.27s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.27s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.27s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.27s] DEBUG: XServer 0: Launching X Server
[+0.28s] DEBUG: Launching process 505: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.28s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.28s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.28s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+4.95s] DEBUG: Loading users from org.freedesktop.Accounts
[+4.95s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+5.66s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested)
[+5.71s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested)
[+9.34s] DEBUG: Got signal 10 from process 505
[+9.34s] DEBUG: XServer 0: Got signal from X server :0
[+9.34s] DEBUG: XServer 0: Connecting to XServer :0
[+9.46s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+9.46s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+9.46s] DEBUG: Session pid=547: Started with service 'lightdm-greeter', username 'lightdm'
[+9.63s] DEBUG: Session pid=547: Authentication complete with return value 0: Success
[+9.63s] DEBUG: Seat seat0: Session authenticated, running command
[+9.63s] DEBUG: Session pid=547: Running command /usr/bin/lightdm-gtk-greeter
[+9.63s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+9.63s] DEBUG: Session pid=547: Logging to /var/log/lightdm/seat0-greeter.log
[+10.00s] DEBUG: Activating VT 7
[+10.00s] DEBUG: Activating login1 session c1
[+10.00s] DEBUG: Seat seat0 changes active session to c1
[+10.00s] DEBUG: Session c1 is already active
[+11.56s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+12.71s] DEBUG: Greeter start authentication for dan
[+12.71s] DEBUG: Session pid=577: Started with service 'lightdm', username 'dan'
[+12.94s] DEBUG: Session pid=577: Got 1 message(s) from PAM
[+12.94s] DEBUG: Prompt greeter with 1 message(s)
[+17.17s] DEBUG: Continue authentication
[+18.64s] DEBUG: Session pid=577: Authentication complete with return value 7: Authentication failure
[+18.64s] DEBUG: Authenticate result for user dan: Authentication failure
[+18.66s] DEBUG: Session pid=577: Exited with return value 1
[+18.66s] DEBUG: Seat seat0: Session stopped
[+18.70s] DEBUG: Greeter start authentication for dan
[+18.70s] DEBUG: Session pid=583: Started with service 'lightdm', username 'dan'
[+18.76s] DEBUG: Session pid=583: Got 1 message(s) from PAM
[+18.76s] DEBUG: Prompt greeter with 1 message(s)
[+20.72s] DEBUG: Greeter start authentication
[+20.72s] DEBUG: Session pid=583: Sending SIGTERM
[+20.73s] DEBUG: Session pid=585: Started with service 'lightdm', username '(null)'
[+20.73s] DEBUG: Session pid=583: Terminated with signal 15
[+20.73s] DEBUG: Session: Failed during authentication
[+20.73s] DEBUG: Seat seat0: Session stopped
[+20.74s] DEBUG: Session pid=585: Got 1 message(s) from PAM
[+20.74s] DEBUG: Prompt greeter with 1 message(s)
[+22.84s] DEBUG: Greeter start authentication for root
[+22.84s] DEBUG: Session pid=585: Sending SIGTERM
[+22.84s] DEBUG: Session pid=586: Started with service 'lightdm', username 'root'
[+22.84s] DEBUG: Session pid=585: Terminated with signal 15
[+22.84s] DEBUG: Session: Failed during authentication
[+22.84s] DEBUG: Seat seat0: Session stopped
[+22.90s] DEBUG: Session pid=586: Got 1 message(s) from PAM
[+22.90s] DEBUG: Prompt greeter with 1 message(s)
[+26.20s] DEBUG: Continue authentication
[+26.29s] DEBUG: Session pid=586: Authentication complete with return value 0: Success
[+26.29s] DEBUG: Authenticate result for user root: Success
[+26.29s] DEBUG: User root authorized
[+26.34s] DEBUG: Greeter requests session plasma
[+26.36s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+26.36s] DEBUG: Terminating login1 session c1
[+26.37s] DEBUG: Session pid=547: Sending SIGTERM
[+26.48s] DEBUG: Greeter closed communication channel
[+26.48s] DEBUG: Session pid=547: Exited with return value 0
[+26.48s] DEBUG: Seat seat0: Session stopped
[+26.48s] DEBUG: Seat seat0: Greeter stopped, running session
[+26.48s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+26.48s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+26.48s] DEBUG: Session pid=586: Running command /etc/lightdm/Xsession /usr/bin/startplasma-x11
[+26.48s] DEBUG: Creating shared data directory /var/lib/lightdm-data/root
[+26.48s] DEBUG: Session pid=586: Logging to .xsession-errors
[+26.62s] DEBUG: Activating VT 7
[+26.62s] DEBUG: Activating login1 session 2
[+26.63s] DEBUG: Seat seat0 changes active session to
[+26.63s] DEBUG: Seat seat0 changes active session to 2
[+26.63s] DEBUG: Session 2 is already active
[+568.22s] DEBUG: User /org/freedesktop/Accounts/User1001 added
[+664.58s] DEBUG: User /org/freedesktop/Accounts/User1000 deleted
[+664.58s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested)
[+666.41s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+720.64s] DEBUG: Session pid=586: Exited with return value 0
[+720.64s] DEBUG: Seat seat0: Session stopped
[+720.64s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+720.64s] DEBUG: Sending signal 15 to process 505
[+722.84s] DEBUG: Process 505 exited with return value 0
[+722.84s] DEBUG: XServer 0: X server stopped
[+722.84s] DEBUG: Releasing VT 7
[+722.84s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+722.84s] DEBUG: Seat seat0: Display server stopped
[+722.84s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+722.84s] DEBUG: Seat seat0: Creating greeter session
[+722.84s] DEBUG: Seat seat0: Creating display server of type x
[+722.84s] DEBUG: Using VT 7
[+722.84s] DEBUG: Seat seat0: Starting local X display on VT 7
[+722.84s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+722.84s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+722.84s] DEBUG: XServer 0: Launching X Server
[+722.84s] DEBUG: Launching process 1015: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+722.84s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+723.91s] DEBUG: Got signal 10 from process 1015
[+723.91s] DEBUG: XServer 0: Got signal from X server :0
[+723.91s] DEBUG: XServer 0: Connecting to XServer :0
[+724.03s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+724.03s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+724.03s] DEBUG: Session pid=1031: Started with service 'lightdm-greeter', username 'lightdm'
[+724.07s] DEBUG: Session pid=1031: Authentication complete with return value 0: Success
[+724.07s] DEBUG: Seat seat0: Session authenticated, running command
[+724.07s] DEBUG: Session pid=1031: Running command /usr/bin/lightdm-gtk-greeter
[+724.07s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+724.07s] DEBUG: Session pid=1031: Logging to /var/log/lightdm/seat0-greeter.log
[+724.19s] DEBUG: Activating VT 7
[+724.19s] DEBUG: Activating login1 session c2
[+724.19s] DEBUG: Seat seat0 changes active session to c2
[+724.19s] DEBUG: Session c2 is already active
[+724.36s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+724.55s] DEBUG: Greeter start authentication for dan
[+724.55s] DEBUG: Session pid=1060: Started with service 'lightdm', username 'dan'
[+724.62s] DEBUG: Session pid=1060: Got 1 message(s) from PAM
[+724.62s] DEBUG: Prompt greeter with 1 message(s)
[+727.80s] DEBUG: Continue authentication
[+729.97s] DEBUG: Session pid=1060: Authentication complete with return value 7: Authentication failure
[+729.97s] DEBUG: Authenticate result for user dan: Authentication failure
[+729.97s] DEBUG: Session pid=1060: Exited with return value 1
[+729.97s] DEBUG: Seat seat0: Session stopped
[+730.12s] DEBUG: Greeter start authentication for dan
[+730.12s] DEBUG: Session pid=1067: Started with service 'lightdm', username 'dan'
[+730.18s] DEBUG: Session pid=1067: Got 1 message(s) from PAM
[+730.18s] DEBUG: Prompt greeter with 1 message(s)
[+732.65s] DEBUG: Greeter start authentication for dan1
[+732.65s] DEBUG: Session pid=1067: Sending SIGTERM
[+732.66s] DEBUG: Session pid=1069: Started with service 'lightdm', username 'dan1'
[+732.66s] DEBUG: Session pid=1067: Terminated with signal 15
[+732.66s] DEBUG: Session: Failed during authentication
[+732.66s] DEBUG: Seat seat0: Session stopped
[+732.71s] DEBUG: Session pid=1069: Got 1 message(s) from PAM
[+732.71s] DEBUG: Prompt greeter with 1 message(s)
[+735.25s] DEBUG: Continue authentication
[+738.19s] DEBUG: Session pid=1069: Authentication complete with return value 7: Authentication failure
[+738.19s] DEBUG: Authenticate result for user dan1: Authentication failure
[+738.19s] DEBUG: Session pid=1069: Exited with return value 1
[+738.19s] DEBUG: Seat seat0: Session stopped
[+738.57s] DEBUG: Greeter start authentication for dan1
[+738.57s] DEBUG: Session pid=1070: Started with service 'lightdm', username 'dan1'
[+738.62s] DEBUG: Session pid=1070: Got 1 message(s) from PAM
[+738.62s] DEBUG: Prompt greeter with 1 message(s)
[+740.72s] DEBUG: Greeter start authentication
[+740.72s] DEBUG: Session pid=1070: Sending SIGTERM
[+740.73s] DEBUG: Session pid=1073: Started with service 'lightdm', username '(null)'
[+740.73s] DEBUG: Session pid=1070: Terminated with signal 15
[+740.73s] DEBUG: Session: Failed during authentication
[+740.73s] DEBUG: Seat seat0: Session stopped
[+740.74s] DEBUG: Session pid=1073: Got 1 message(s) from PAM
[+740.74s] DEBUG: Prompt greeter with 1 message(s)
[+742.38s] DEBUG: Greeter start authentication for root
[+742.38s] DEBUG: Session pid=1073: Sending SIGTERM
[+742.38s] DEBUG: Session pid=1074: Started with service 'lightdm', username 'root'
[+742.38s] DEBUG: Session pid=1073: Terminated with signal 15
[+742.38s] DEBUG: Session: Failed during authentication
[+742.38s] DEBUG: Seat seat0: Session stopped
[+742.45s] DEBUG: Session pid=1074: Got 1 message(s) from PAM
[+742.45s] DEBUG: Prompt greeter with 1 message(s)
[+744.32s] DEBUG: Continue authentication
[+744.42s] DEBUG: Session pid=1074: Authentication complete with return value 0: Success
[+744.42s] DEBUG: Authenticate result for user root: Success
[+744.42s] DEBUG: User root authorized
[+744.48s] DEBUG: Greeter requests session plasma
[+744.48s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+744.48s] DEBUG: Terminating login1 session c2
[+744.49s] DEBUG: Session pid=1031: Sending SIGTERM
[+744.53s] DEBUG: Greeter closed communication channel
[+744.53s] DEBUG: Session pid=1031: Exited with return value 0
[+744.53s] DEBUG: Seat seat0: Session stopped
[+744.53s] DEBUG: Seat seat0: Greeter stopped, running session
[+744.53s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
[+744.53s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+744.53s] DEBUG: Session pid=1074: Running command /etc/lightdm/Xsession /usr/bin/startplasma-x11
[+744.53s] DEBUG: Creating shared data directory /var/lib/lightdm-data/root
[+744.53s] DEBUG: Session pid=1074: Logging to .xsession-errors
[+744.57s] DEBUG: Activating VT 7
[+744.57s] DEBUG: Activating login1 session 6
[+744.57s] DEBUG: Seat seat0 changes active session to
[+744.57s] DEBUG: Seat seat0 changes active session to 6
[+744.57s] DEBUG: Session 6 is already active
[+1149.11s] DEBUG: Session pid=1074: Exited with return value 0
[+1149.11s] DEBUG: Seat seat0: Session stopped
[+1149.11s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+1149.11s] DEBUG: Sending signal 15 to process 1015
[+1149.11s] DEBUG: Seat seat0 changes active session to
[+1151.01s] DEBUG: Process 1015 exited with return value 0
[+1151.01s] DEBUG: XServer 0: X server stopped
[+1151.01s] DEBUG: Releasing VT 7
[+1151.01s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+1151.01s] DEBUG: Seat seat0: Display server stopped
[+1151.01s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+1151.01s] DEBUG: Seat seat0: Creating greeter session
[+1151.01s] DEBUG: Seat seat0: Creating display server of type x
[+1151.01s] DEBUG: Using VT 7
[+1151.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+1151.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+1151.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+1151.01s] DEBUG: XServer 0: Launching X Server
[+1151.01s] DEBUG: Launching process 1452: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1151.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+1152.06s] DEBUG: Got signal 10 from process 1452
[+1152.06s] DEBUG: XServer 0: Got signal from X server :0
[+1152.06s] DEBUG: XServer 0: Connecting to XServer :0
[+1152.16s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+1152.16s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1152.17s] DEBUG: Session pid=1468: Started with service 'lightdm-greeter', username 'lightdm'
[+1152.20s] DEBUG: Session pid=1468: Authentication complete with return value 0: Success
[+1152.20s] DEBUG: Seat seat0: Session authenticated, running command
[+1152.20s] DEBUG: Session pid=1468: Running command /usr/bin/lightdm-gtk-greeter
[+1152.20s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1152.20s] DEBUG: Session pid=1468: Logging to /var/log/lightdm/seat0-greeter.log
[+1152.33s] DEBUG: Activating VT 7
[+1152.33s] DEBUG: Activating login1 session c3
[+1152.33s] DEBUG: Seat seat0 changes active session to c3
[+1152.33s] DEBUG: Session c3 is already active
[+1152.51s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+1152.73s] DEBUG: Greeter start authentication for dan
[+1152.73s] DEBUG: Session pid=1497: Started with service 'lightdm', username 'dan'
[+1152.78s] DEBUG: Session pid=1497: Got 1 message(s) from PAM
[+1152.78s] DEBUG: Prompt greeter with 1 message(s)
[+1159.23s] DEBUG: Continue authentication
[+1162.16s] DEBUG: Session pid=1497: Authentication complete with return value 7: Authentication failure
[+1162.16s] DEBUG: Authenticate result for user dan: Authentication failure
[+1162.16s] DEBUG: Session pid=1497: Exited with return value 1
[+1162.16s] DEBUG: Seat seat0: Session stopped
[+1162.23s] DEBUG: Greeter start authentication for dan
[+1162.23s] DEBUG: Session pid=1503: Started with service 'lightdm', username 'dan'
[+1162.29s] DEBUG: Session pid=1503: Got 1 message(s) from PAM
[+1162.29s] DEBUG: Prompt greeter with 1 message(s)
[+1164.92s] DEBUG: Greeter start authentication for dan1
[+1164.92s] DEBUG: Session pid=1503: Sending SIGTERM
[+1164.92s] DEBUG: Session pid=1504: Started with service 'lightdm', username 'dan1'
[+1164.92s] DEBUG: Session pid=1503: Terminated with signal 15
[+1164.92s] DEBUG: Session: Failed during authentication
[+1164.92s] DEBUG: Seat seat0: Session stopped
[+1164.98s] DEBUG: Session pid=1504: Got 1 message(s) from PAM
[+1164.98s] DEBUG: Prompt greeter with 1 message(s)
[+1169.22s] DEBUG: Continue authentication
[+1172.13s] DEBUG: Session pid=1504: Authentication complete with return value 7: Authentication failure
[+1172.13s] DEBUG: Authenticate result for user dan1: Authentication failure
[+1172.13s] DEBUG: Session pid=1504: Exited with return value 1
[+1172.13s] DEBUG: Seat seat0: Session stopped
[+1172.20s] DEBUG: Greeter start authentication for dan1
[+1172.20s] DEBUG: Session pid=1505: Started with service 'lightdm', username 'dan1'
[+1172.26s] DEBUG: Session pid=1505: Got 1 message(s) from PAM
[+1172.26s] DEBUG: Prompt greeter with 1 message(s)
[+1173.36s] DEBUG: Greeter start authentication
[+1173.36s] DEBUG: Session pid=1505: Sending SIGTERM
[+1173.36s] DEBUG: Session pid=1508: Started with service 'lightdm', username '(null)'
[+1173.36s] DEBUG: Session pid=1505: Terminated with signal 15
[+1173.36s] DEBUG: Session: Failed during authentication
[+1173.36s] DEBUG: Seat seat0: Session stopped
[+1173.37s] DEBUG: Session pid=1508: Got 1 message(s) from PAM
[+1173.37s] DEBUG: Prompt greeter with 1 message(s)
[+1175.88s] DEBUG: Greeter start authentication for root
[+1175.88s] DEBUG: Session pid=1508: Sending SIGTERM
[+1175.88s] DEBUG: Session pid=1509: Started with service 'lightdm', username 'root'
[+1175.88s] DEBUG: Session pid=1508: Terminated with signal 15
[+1175.88s] DEBUG: Session: Failed during authentication
[+1175.88s] DEBUG: Seat seat0: Session stopped
[+1175.94s] DEBUG: Session pid=1509: Got 1 message(s) from PAM
[+1175.94s] DEBUG: Prompt greeter with 1 message(s)
[+1178.32s] DEBUG: Continue authentication
[+1178.41s] DEBUG: Session pid=1509: Authentication complete with return value 0: Success
[+1178.41s] DEBUG: Authenticate result for user root: Success
[+1178.41s] DEBUG: User root authorized
[+1178.47s] DEBUG: Greeter requests session plasma
[+1178.47s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
[+1178.47s] DEBUG: Terminating login1 session c3
[+1178.48s] DEBUG: Session pid=1468: Sending SIGTERM
[+1178.52s] DEBUG: Greeter closed communication channel
[+1178.52s] DEBUG: Session pid=1468: Exited with return value 0
[+1178.52s] DEBUG: Seat seat0: Session stopped
[+1178.52s] DEBUG: Seat seat0: Greeter stopped, running session
[+1178.52s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session2
[+1178.52s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+1178.52s] DEBUG: Session pid=1509: Running command /etc/lightdm/Xsession /usr/bin/startplasma-x11
[+1178.52s] DEBUG: Creating shared data directory /var/lib/lightdm-data/root
[+1178.52s] DEBUG: Session pid=1509: Logging to .xsession-errors
[+1178.56s] DEBUG: Activating VT 7
[+1178.56s] DEBUG: Activating login1 session 8
[+1178.56s] DEBUG: Seat seat0 changes active session to
[+1178.56s] DEBUG: Seat seat0 changes active session to 8
[+1178.56s] DEBUG: Session 8 is already activeLast edited by MaxSpec (2020-05-19 19:17:42)
Offline
What keyboard layout do you use and how does your /etc/vconsole.conf look like?
Also please use code-Tags for posting terminal output.
Inofficial first vice president of the Rust Evangelism Strike Force
Online
I'm sorry but I'm quite new to forums so I don't quite know how to format..
But about /etc/vconsole.conf:
KEYMAP=us
Offline
I'm sorry but I'm quite new to forums so I don't quite know how to format.
You click the link at the bottom left of every text box that says "BBCode", and then you fix the post.
Offline
MaxSpec wrote:I'm sorry but I'm quite new to forums so I don't quite know how to format.
You click the link at the bottom left of every text box that says "BBCode", and then you fix the post.
Okay, got it.
Offline
Then why didn't you fix the post?
Also we're missing your system log for a failed TTY login.
Next:
passwd -S dan # assuming "dan" is the failing loginAlso try to alter the password for the user to something trivial, keyboard agnostic (unless you're on a US QWERTY layout, but even then stick to sth. like "qwert" and especially stay away from the numpad.
Last: how did you create the user and set its password?
Offline
... and then you fix the post.
OP: Please update your original post and add those code tags. It's really hard to read otherwise.
Offline
jasonwryan wrote:... and then you fix the post.
OP: Please update your original post and add those code tags. It's really hard to read otherwise.
Sorry for me being a little dumb.
Also try to alter the password for the user to something trivial, keyboard agnostic (unless you're on a US QWERTY layout, but even then stick to sth. like "qwert" and especially stay away from the numpad.
Last: how did you create the user and set its password?
I wrote it differently each time:
useradd -m dan -p a123 -s "/bin/bash"
useradd -m dan -p dan -s "/bin/bash" -d "/home/dan"
useradd -m dan -p danI don't quite get what could be the issue.
Offline
-p, --password PASSWORD
The encrypted password, as returned by crypt(3). The default is to disable the password.
Offline
You don't pass cleartext password with -p. As also outlined in the Wiki (https://wiki.archlinux.org/index.php/Us … ing_a_user), I doubt many of us even use -p as an option and prefer to use passwd instead.
-p, --password PASSWORD The encrypted password, as returned by crypt(3). The default is to disable the password.
But instead use what's described in the Wiki to set your user's password (i.e. as root, use passwd <user>).
Edit: Damnit, Seth beat me to it.
Last edited by twelveeighty (2020-05-19 19:45:13)
Offline
Okay, passwd dan worked.
Thank you for helping me out with my idiocy.
Offline