Questions tagged [login]

The process of logging in: from the login prompt, through user authentication, to session startup.

Filter by
Sorted by
Tagged with
0
votes
1answer
39 views

Login prompt's weird behaviour

In TTY, my login prompt has got a strange and annoying behaviour: with my arrow keys, I can move the cursor everywhere on the screen, including the prompt itself, the welcome message, etc. If I press ...
0
votes
1answer
42 views

If someone logs into serial and exits console without logout, how do I automatically logout?

am using a debian based linux system. There is a console access to it via Lantronix SLC8000 Advanced Console Manager. When I login it asks for username and password (Both Console manager and server ) ...
0
votes
1answer
26 views

In dual boot Linux & Windows OS in a computer, the first browser's site gets logged off

Why as we manage dual boot Linux & Windows OS in a computer, after browsing a site we restart into other OS and visiting, logging in on the site by using the same browser, next after exiting and ...
2
votes
1answer
51 views

KDE Neon GUI won't start after login

I installed some updates and it needed a reboot which I did. After that I tried to login, but pressing enter after entering the password or clicking the login button with the cursor didn't do anything ...
0
votes
1answer
484 views

XUbuntu LightDM login loop

I am currently using Ubuntu 18.04.3 LTS, and I randomly got a login loop upon restarting my PC. The content of my /var/log/lightdm/lightdm.log is the following: Greeter connected version 1.27.0 api=1 ...
0
votes
0answers
41 views

Can't connect to my OpenSuse machine

I have a OpenSuse based machine used as my application server in client's place. I configured it and installed all necessary software in the end of December 2019 (about 1 month ago) and everything ...
0
votes
0answers
31 views

Username semi-autologin and default display set (Debian 10 + Cinnamon)

1) I need to set my username to login table constntly. That is, after booting, I can only enter the password and log in, but to remain able to switch to another user if needed. 2) My system run on ...
1
vote
1answer
94 views

/etc/shadow is empty, yet I am prompted for password

I have a board (Pine64) on which I run my custom-built linux distribution (using buildroot). I configure root to have no password, and the resulting /etc/shadow file looks like this: root:::::::: ...
1
vote
0answers
58 views

User not in AllowUsers can ssh

I have the following at the bottom of a usual /etc/ssh/sshd_config Match Group sftpg ...
0
votes
1answer
149 views

/etc/inittab: auto login on ttyS0

in my /etc/inittab, I have this line: T0:2345:respawn:/sbin/getty -L ttyS0 115200 vt100 which gives me getty on serial console where I can log in. How can I specify that instead getty, I get ...
0
votes
1answer
129 views

Can not login as root after installing zsh

I installed ZSH and made it the default bash for my kali linux system, then I rebooted the system, and I could not login as root any more. I type in the correct password and it says LOGIN FAILED. I ...
1
vote
2answers
64 views

Fedora login loop

After updating fedora and reboot the system keeps looping on the login menu. I can’t get into other users neither and I can’t access the tty with Alt + Ctrl + F2. At this point I’m really lost and I ...
0
votes
0answers
24 views

Cant login/authenticate after installing gnome on SLES 12

I installed SLES 12 and afterward, I installed gnome with the steps below, but after the machine rebooted (and indeed logged in with the GUI) I cannot log in anymore (and by that I mean I see my user ...
1
vote
1answer
289 views

What is the difference between pam_faillock and pam_tally2?

To block a user after a preset number of failed login attempts, one would use a module like pam_tally2 or pam_faillock. What is the difference between these two? Which one should I use when?
0
votes
0answers
33 views

Allow multiple keyboard layouts on linux mint login screen

I found many posts that show how to change the default keyboard layout on Linux Mint login screen. However I need to be able to switch the layout before logging in. Specifically, I need to have both ...
1
vote
0answers
53 views

Why some Active Directory domain users can't connect to the server?

I've been experiencing an issue with a RHEL 7 Server in which relatively newly created Active Directory domain users can't connect to the server. When I try to login with users which were created ...
1
vote
0answers
96 views

Starting Xorg using systemd

As described in another question, I use my .bash_profile to start Xorg on login. I am using a fresh install of Arch Linux. The Arch Wiki provides instructions for doing this using systemd instead, ...
0
votes
0answers
18 views

Login to a Ubuntu vps via ssh,while ssh is blocked by firewall

Unfortunately my English is not good and I apologize for that. I have a Ubuntu vps. When I was trying to enable the firewall, I forgot to open the ssh port. And after restarting, my access to vps was ...
2
votes
2answers
2k views

Live Kali Linux root/toor login not working

Today I tried to get Live Kali Linux working off a USB stick. When I got to the login screen, I tried entering root as the username and toor as the password like always, but the login failed. I am out ...
1
vote
1answer
107 views

Booting a systemd container - how to bypass console login?

I am using systemd-nspawn to boot a linux container and load its lxsession in a VNC-style nested X server. (Xephyr) I have created a script to do this. One of the main problems with the script is the ...
0
votes
0answers
552 views

Why is vnc connection to linux lock screen “locked out” with no way to enter password?

From my Windows box, I connect to my Linux box using VNC viewer/server. On the Linux box, when my session times out, and after the lock screen kicks in, if I subsequently try to unlock using the gui, ...
3
votes
1answer
487 views

Run tmux on ssh login

I want tmux to start on ssh login. The typical advice is to add this to ~/.bashrc: if [ -z "$TMUX" ] && [ -n "$SSH_TTY" ] && [[ $- =~ i ]]; then tmux attach-session -t mysession 2&...
0
votes
0answers
6 views

changing date format used by pam_lastlog.so

When I log in via ssh, the motd gets printed. Among other things: Last login: Mon Nov 4 06:53:02 2019 from 12.34.56.78 I believe thsi comes from the pam_lastlog.so as configured in /etc/pam.d/login:...
-2
votes
2answers
31 views

Terminal is not starting after sudo passwd -d ahmad

I am running debian 10 and Terminal not starting after below lines... Also Xterm and Xuterm is not starting. What should i do to reverse this action passwd -d ahmad usermod -s /usr/sbin/nologin ...
3
votes
2answers
562 views

/etc/pam.d/ rules for ssh and login

In /etc/pam.d/, the configuration files for sshd and login have some rules for selinux. Can I simply disable those lines, when I am not using selinux ? I would like to simplify the pam rules. ...
0
votes
1answer
191 views

Can't login through gdm - Loop in login on particular user

I have a local user issue which I don't know how to solve: all users can log without any problem, except one user who is each time kicked back to gdm screen though password authehtication succeeds (no ...
0
votes
0answers
14 views

UnixLoginModule with callbackhandler for username and password

I want to write a java module which takes username and password to authenticate a local unix user and then perform various actions based on user's groups and roles. I came across UnixLoginModule under ...
0
votes
0answers
22 views

Faillock and Email Report

I was wondering if there is a way to have faillock send out an email when it locks a user account to a defined email address? If this is not an option, the secondary idea is to review how to make a ...
0
votes
0answers
27 views

Can I use different forms of authentication to log into my user account on a linux machine?

I want to create a mobile app that allows me to log in to my pc using the fingerprint reader and I am wondering whether I can add authentication methods to my user account. I am thinking about ...
0
votes
0answers
25 views

How to allow SSH availability checks but restrict login from specific IP? [duplicate]

I need the possibility of monitoring host to check availability of monitored host's SSH port availability via telnet, but at the same time I want to prevent SSH logins from monitoring host. Is there ...
1
vote
0answers
178 views

Why should I login multiple times on Debian to access to my session?

I have a similar problem than this one: Debian Log In Failure With Correct Password. Indeed, when I start my computer, GDM ask me to enter my password and I have to do it multiple times (three or four ...
16
votes
3answers
15k views

Is it possible to have 2 ports open on SSH with 2 different authentication schemes?

I'm currently trying to set up an SSH server so that access to it from outside the network is ONLY allowed using an SSH Key and does not allow access to root or by any other username/password ...
1
vote
2answers
690 views

PAM configuration with Kerberos authentication but without need of local accounts

I have a working Kerberos authentication tested with kinit on Debian Buster. Now I try to use it with PAM for login with Kerberos and installed libpam-krb5 and configured it with pam-auth-update. But ...
0
votes
1answer
54 views

Auth.log entries: How do you interpret this log?

There has been some odd behavior on my server. I pulled up the auth.log and found this (this is not my IP): Sep 16 16:38:23 xxxxxx sshd[750]: pam_unix(sshd:auth): authentication failure; logname= uid=...
-1
votes
1answer
489 views

OpenBSD - How to start x by default?

Question: How to startx by default in OpenBSD? Backstory: I recently reinstalled OpenBSD and it doesn't load the Desktop Environment environment and is text-only upon startup. Personally, I like ...
1
vote
0answers
53 views

su: /bin/bash: No such file or directory in Dragonfly BSD

today I wanted to change my shell to BASH from sh. I have only the root account on my system. I typed chsh -s /bin/bash but the BASH shell is in the /usr/local/bin/bash. So after a logout I am unable ...
0
votes
0answers
22 views

System crashes when trying to log in

sorry if I am missing any info but I will do my best to be as thorough as possible in the first attempt. TL;DR factory restored computer, used Ubuntu live disk now PC crashes whenever I try to login. ...
1
vote
1answer
149 views

Password is correct but “Invalid password” when I log in [closed]

I am running Linux Mint Tessa 19.1 with both XFCE and i3 windows manager installed. I do not need to log in on startup but when I log out, I can't log in back again with my password in any of the ...
0
votes
0answers
94 views

What changes argv[0] of a login shell?

AFAIK at least the most popular shells use the argv[0] as an indicator whether they should behave as a login or a non-login shell. If argv[0] starts with a '-' the shell (bash and zsh at least) ...
0
votes
0answers
105 views

GLIBC update broke server SSH

One of the users upgraded GLIBC version from 2.12 to 2.14 on a RHEL 6.10. Now the SSH is not working as well as we are not able to log in via vCenter. This message displayed at the console in vCenter ...
1
vote
0answers
145 views

Why aren't my ~/.login_conf settings respected when ssh into FreeBSD?

I connect to a local FreeBSD server (which I administer) via ssh from my laptop. I have a stock FreeBSD 11.2 /etc/login.conf file. I have appended the following to my ~/.login_conf file: :me \ :...
0
votes
1answer
70 views

Update login form and message on terminal

In linux its possible to customize the login page with the lightdm package. But it will force the use of Xorg. Is there a way to customize the login form and message before the user login on the tty ...
5
votes
2answers
975 views

SSHing into system with ZSH as default shell doesn't run /etc/profile

I'm experiencing a strange behavior on some of our machines atm. At least, it seems strange to me and my colleagues and we didn't find any explanation for it :) [edit 1] Next paragraph seems to be ...
1
vote
1answer
49 views

Linux LoginServer

I want a Linux server with the user accounts. The users will see a login screen after boot. So they can directly login on the server without noticing it. The user folders are also saved there, like ...
1
vote
0answers
115 views

Starting a GUI application on the login screen prior to login

I have a server (VM) with Debian 10 and Cinamon desktop. I want to autostart a GUI application at boot with a local user account without using autologin. And I want the application to use the display ...
0
votes
0answers
47 views

Terminal Login Screen Language between SSH and Telnet [duplicate]

on the login screen of a CentOS 7, when changing password is enforced with an ssh terminal I have two different languages: login as: user1 user1@192.168.0.20's password: You are required to change ...
3
votes
2answers
149 views

How to configure GNU screen or tmux to reattach to the previous session without using command line arguments?

By launching GNU screen or tmux as the initial default shell (set with chsh, for instance), passing arguments seems not to be supported, such as "-d RR" for screen and "attach" for tmux. chsh's ...
0
votes
0answers
46 views

How to make CentOS iterate over principals in .k5login (take password for one of them)

at my work, we use combination of Debian and newly some CentOS 7 machines. We have a group of kerberos+LDAP servers to provide means of user authentication to another machines. Everything is fine ...
0
votes
1answer
129 views

'expect' not matching server response string

I'm using a bash script to log into a telnet server and execute a number of commands. It looks like: login_and_run.sh #!/bin/bash unset TELNET_USER_NAME_STRING unset TELNET_PASSWORD_STRING unset ...
1
vote
0answers
60 views

Password does not work anymore

Today I took a look at the /etc/shadow file with the password-hashes without changing it but saving it again. After again starting my PC with Linux Mint 19.4 I entered my password and that also worked....

1
2
3 4 5
22