You are not logged in.
Pages: 1
Hi all
I just installed Arch Linux on x86 PC, I can login as root from the terminal using a keyboard.
I have configured Arch Linux to be able to use the console through USB to serial converter, I have configured all to communicate right, when I boot Arch Linux PC, while another PC connected through serial port, I get the login prompt, I use the other PC with the root user name and password, I get "loging incorrect" error
Am I missing anything?
Thanks
F
Offline
Hum well, I wrote the "GRUB2 and systemd" of the wiki
https://wiki.archlinux.org/index.php/Wo … nd_systemd
I personally have it configured with the first option i.e. setting up GRUB2 and letting systemd figure it out on it's own. I have no problem logging in as the root user, with no extra configuration.
What serial console program are you using, minicom?
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
add ttyUSB0 to /etc/securetty
Offline
add ttyUSB0 to /etc/securetty
Awe yes, that is the problem. I was thinking about the securetty file but forgot that he said it was a USB-to-serial adapter, so I figured "well ttyS0 should be in there..."
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
Hi, thanks for your replies, I just added it and worked fine. Thanks
How about SSH? is it something to do with SSH configurations? /etc/secyretty? or /etc/security/access.conf?
I will be trying to figure it out, but if you have come across it before, then will be handy.
Thanks
Offline
For SSH login, I had to un-comment "PermitRootLogin yes" in /etc/ssh/sshd_config
Thanks
Offline
For SSH login, I had to un-comment "PermitRootLogin yes" in /etc/ssh/sshd_config
Thanks
No,
Do not allow root login from SSH.
Every robot and worm ever made hammers the root user account on every SSH daemon they can find. Login to SSH as a normal user and then use the `su` command to become the root user.
Last edited by hunterthomson (2013-01-25 09:26:12)
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
fouad_jh wrote:For SSH login, I had to un-comment "PermitRootLogin yes" in /etc/ssh/sshd_config
Thanks
No,
Do not allow root login from SSH.
Every robot and worm ever made hammers the root user account on every SSH daemon they can find. Login to SSH as a normal user and then use the `su` command to become the root user.
Thanks, for the purpose of what I am doing, is not really a big deal, but I agree with what you said, it would be much safer.
Offline
Pages: 1