Questions tagged [login]
The process of logging in: from the login prompt, through user authentication, to session startup.
1,214
questions
1
vote
0
answers
20
views
dovecot: Force TCP socket disconnect on imap login failure?
I'm running dovecot 2.2.13 under Debian 8.
I'd like to force an immediate TCP socket disconnect after any imap login attempt that fails.
Right now, if invalid credentials are supplied during an imap ...
0
votes
1
answer
66
views
How can I change or remove the orange login screen logo in Ubuntu 22.04?
After applying the dark theme to Ubuntu 22.04, one is left with an ugly orange rectangle around the Ubuntu logo on the login screen.
Image credit: https://www.neowin.net/news/canonical-releases-ubuntu-...
0
votes
0
answers
31
views
How to "reuse" the SSH connection created? [duplicate]
Here's my workflow and pain point: In a terminal, I first use tmux and create 3 panes, sometime even more. In each pane, I do a two steps SSH to connect to the work server behind a bastion server. In ...
-1
votes
2
answers
47
views
How to enable the highlighting of the file "/etc/login.defs" on Ubuntu?
When I open the file /etc/login.defs on a RHEL 8.3 system, it looks like this:
As you can see, it highlights the content. But when I open the same file in a Ubuntu 20.04 system, there is no ...
1
vote
0
answers
36
views
Recent LDAP user list missing in greeter using lightdm
I am switching our desktop manager from xfce to mate on centos 7.4.
This means that we are switching from gdm to lightdm.
For some reasons, it is impossible for our recent user authenticated via a ...
0
votes
0
answers
132
views
GDM does not start on void linux
According to void wiki, I installed these packages: xbps-install -S gnome-core gdm. I also installed dbus package and enabled it on startup. The wiki then recommended to test the service, so i ran ...
0
votes
1
answer
37
views
What exactly happens to create a user by "useradd -ms `which false`"?
I'm watching a video where the author says we can use this command in order to keep the user from logging in.
useradd -ms `which false` u2
Below is my testing.
[root@192 ~]# tree -dL 1 /home
/home
├──...
0
votes
1
answer
22
views
How to create dynamically and automatically a user at login if it does not exist?
Is it possible to create dynamically a user at login if it does not exist, and register the password (s)he typed to log-in ?
...And execute a script before the DM launches to setup the home ?
(I mean ...
0
votes
0
answers
42
views
Linux login failed while username and password correct (tty interface)
Many times when I tried to log in Linux through tty. Although I've entered correct username and password. It showed "login failed" and didn't give more message. I checked the log.
/var/log# ...
1
vote
4
answers
133
views
Debian testing/bookworm user can not login using GNOME Shell 41.4 after upgrade
After applying a recent upgrade on my Debian-System, I can not login in with my user Account. The password is not recognized. Logging in without GUI using the same user and password works fine.
...
0
votes
2
answers
35
views
debian login screen
It's not a big problem but I wondering why this happened.
I installed 32-bit Debian without GUI as a primary OS but I added Kali Linux repos "add new source list called 'kali.list' with kali ...
1
vote
0
answers
168
views
I just fresh installed Void linux but I am stuck in login screen unable to login?
I just fresh installed Void linux but I am stuck in login screen unable to login through the GUI. Doesn't matter how many times I type in correct password it still returns me to login screen.
I have ...
0
votes
1
answer
97
views
Change default login user for Linux from root
I've been working with Linux for awhile and was wondering how I could go about changing the default login user. The whole time I've used Ubuntu, I've been logging in as the root node, as bad as that ...
1
vote
1
answer
35
views
Starting Program On Linux Login Screen
When I boot a Linux device, I want to run a program when the device's login screen appears (or before that. Main question is run an application without user login. For example Java JFrame Forms or ...
0
votes
0
answers
47
views
Screen goes blank after login, returns to login on Ubuntu MATE
Recently (1 or 2 days ago), my dad wanted to change the graphics driver.
I insisted to keep the open source one, but he insisted too to change the graphics to the proprietary one, but he clicked on ...
0
votes
2
answers
32
views
Running 'login' on a USB port?
I have a small headless Linux server that I'd like to login into. It has an ethernet port, but when I connect it to the network, I do not know what its IP address is to ssh into it.
It also has a USB ...
0
votes
0
answers
32
views
Login loop Linux mint 18.3
I'm having issues login in to my Linux mint 18.3 sylvia (tried with my user and guest and can't login with either of those). I know I'm using my correct password, it just goes to a black screen and ...
0
votes
1
answer
44
views
Login to tty works but not in gnome
I am able to login on a tty, but not on GNOME.
I can confirm that the root directory has a .XAuthority file.
This image shows GNOME login screen after a loginctl unlock-sessions:
journalctl gives me: ...
0
votes
1
answer
52
views
Does a real user ID which identifies the user who created the process?
As per the section The Persona of a Process of the glibc manual:
A process also has a real user ID which identifies the user who created the process ...
So to verify this, I ran the command:
ps -eo ...
2
votes
0
answers
38
views
Infrequent kerberos authentication issue (pam_krb5 vs. pam_unix)
My Linux computer belongs to a company network using a windows domain. The authentication is done using kerberos.
Usually the authentication works fine and I am happy with my linux desktop. But ...
1
vote
2
answers
126
views
Which process is responsible for mapping Ctr+C to intr signal in systemd+agetty+login+bash?
I am trying to read source code to understand which process is reponsible for these mapping, but I can't still figure it out. Can anyone give me a hint about which code is relative to it ?
source code:...
2
votes
1
answer
131
views
How can a user start its own login shell?
I want the default command for a Docker image to start up a login shell for the container's user.¹
Something like:
…
USER someuser
CMD /bin/zsh --login
That above gets a login shell, but does not ...
0
votes
0
answers
71
views
Restricting available xsession for a specific user (linux, gnome-session)?
I have a cluster of linux servers accessed using a front-end server which users can remote into. The front-end is running CentOS 8. What I want to do is to restrict some users to only a type of kiosk-...
0
votes
1
answer
61
views
keyboard not working for login nor via live image usb
My keyboard is not working anymore for login in KDE Plasma - Arch Linux on my Microsoft Surface Pro 4. I did not delete software.
I tried
booting using the live image used for installation, so I can ...
0
votes
0
answers
10
views
How to login user instance on boot securely to start services
I have a desktop that I use to serve up some utility apps. One being dropbox and others that only work in userland.
When I have to restart remotely how can I properly get the user session to load? I ...
0
votes
0
answers
26
views
Not able to log in to cartain website
Something strange is happening on my machine: When I boot into USB-Live Fedora and try to log in to a certain website with Firefox I am able to log in only once. After closing the browser the login ...
1
vote
0
answers
16
views
how can I stop mint/mate before the mate environment loads
I have a mint 20 install with mate. I ran out of disk space on the boot device. I booted off an external medium, erased files and now have a residual issue with Mate. I had the system configured to ...
1
vote
0
answers
164
views
Fedora 35 gnome-x11 incomplete environment variables
For unrelated reasons (XWayland crashing the Bash too often with applications like gnuplot, firefox...) I'm trying to start the "Gnome on X11" when login into my Fedora 35 laptop. This is ...
0
votes
1
answer
53
views
Ubuntu login issue with broken laptop screen
My Samsung laptop has a broken screen, hence I'm using an external one. However, external displays only in extended mode. After Ctrl+Alt+F1 I can start the terminal .... but .... apparently I forgot ...
1
vote
1
answer
88
views
Why the LESS_TERMCAP settings does not work when put it into ~/.profile
I have the following LESS_TERMCAP settings:
# less config
export LESS=-R
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;31m' # begin bold
export ...
0
votes
0
answers
20
views
Increase size of the Login Prompt on Debian for 4K Monitor
I followed this guide to increase Grub's size on my 4K monitor.
How can I also enlarge the login prompt for after grub has booted the system?
1
vote
1
answer
183
views
Switch password/fingerprint authentication on lid behaviour
I set the fingerprint authentication as default for login and sudo commands. On 3 failures or no fingerprint detection for 10 seconds, password auth is required. When working with lid closed (external ...
0
votes
0
answers
19
views
How can I continue an RDP session after reboot?
Is this possible? I will be using a Windows machine as the client but need to remote back in while the host is still on the login screen. I know on Windows that services don't actually start until ...
0
votes
1
answer
80
views
Change Debian TTY/text terminal login OS version name
When I login to a TTY/text terminal, I get a prompt that looks something like:
Debian GNU/Linux bookworm/sid ...
login:
I'm running testing, and purely for aesthetic purposes, I don't want it to say ...
0
votes
1
answer
40
views
Setting environmental variable in linux via ssh
I am working on three different issues so I have cloned source code in three different directories.
1) /nobackup/vivek/dev1/<source_code>..
2) /nobackup/vivek/dev2/<source_code>..
3) /...
0
votes
0
answers
74
views
Ubuntu 20.04 lightdm user forced to SystemAccount=true and invalid Icon= value
I have a new installation of Ubuntu 20.04 Desktop. The Display Manager is lightdm, which is default for Ubuntu 20.04. On this system, I configured one user (user1, id=1000), and logged in to the ...
0
votes
0
answers
51
views
lightdm incompatibility with .profile commands
For many years, I have used kornshell as my default shell. I'm used to it; I like it. As such, I have several features in my login .profile as well as in /etc/profile (functions, references to those ...
1
vote
0
answers
78
views
Debian 10 login loop fix?
I am desperately trying to install openjdk-17 to my Debian 10 VM (with UI) and when I was setting the environment variables I found a thread with script to set the variables permanently. After running ...
-1
votes
1
answer
31
views
Trouble with Log in Debian 9
I use a computer in a local network, and by that I mean that computers run Debian 9 and users' files are stored in a server not locally.
At the computer that I normally use, I accidentally gave wrong ...
1
vote
1
answer
297
views
Linux Mint 20 is booting to Login prompt on command line
I upgraded my Linux Mint to Release 20 Ulyana from Release 18. After the upgrade now my Mint boot to login prompt on command line. I can login fine but i have to type startx on command line to get to ...
0
votes
0
answers
38
views
Set a reminder every X days before password expiration
is there any way to set a password reminder every each X days before password expiration in Y days of overall Z days?
I would need to set this offline (i.e. no change command).
For example, I would ...
0
votes
0
answers
40
views
Remove hostname from telnet login prompt / LOGIN_PLAIN_PROMPT on Ubuntu 20.04
I am trying to remove the hostname on the telnet login prompt to just display "login:" on Ubuntu 20.04.
I understood while searching around that telnet is using the program login.
I found ...
0
votes
0
answers
68
views
Delay between username and password during tty login
Recently, I noticed that when using tty to login to my computer, there was a delay (around 20 seconds) between the time I enter my username and the time I'm getting asked for my password. Where can it ...
0
votes
0
answers
127
views
Forced logout on Fedora 35 (Xfce)
My 2 days-old install of Fedora 35 (Xfce spin) keeps logging me out randomly.
It happens pretty quickly after login (1 minute or so), and it keeps doing the same thing once I log back in. My machine ...
0
votes
1
answer
50
views
Run script on login
I have a Minecraft server running on OS Ubuntu Server 20.04.3 with systemd.
I need to create a user called shutdown which, on login (even from ssh) should:
Run script shutdownAll
Log out from session
...
0
votes
0
answers
89
views
How to solve an issue with my IP getting repeatedly banned due to incorrect SSH login attempts?
I recently upgraded my laptop to Ubuntu 21.10. I do not know if it is related, but I started having the following issue after the upgrade:
At work I connect to a cluster via SSH. For this I use key-...
0
votes
1
answer
73
views
After updatimg to bullseye enter did not work on login screen
Yesterday I tried to update buster to bullseye. All work as expected until I reboot my laptop.
Booting is working, start kde, invite me to insert password, but, enter did not working. So I could not ...
0
votes
1
answer
696
views
Ubuntu 20.04.2 LTS - Black screen after login
I am running Ubuntu in Oracle VM on a Windows 10 Host.
I restarted the VM because it was rather slow, but after login I get a black screen and I can only see my mouse.
If I login as another user, then ...
0
votes
1
answer
43
views
What is "subsystem login"?
The DESCRIPTION of man login contains this:
A subsystem login is indicated by the presence of a "*" as the first
character of the login shell. The given home directory will be used as
the ...
0
votes
0
answers
22
views
Log to Ubuntu with wsl
I've installed Ubuntu on WSL 2.0.
When I'm in the command line I am logged as useradd@NAMEOFMYPC:~$
The whoami command answer useradd .
The adduser command asks me useradd's password and
apropos user ...