Questions tagged [login]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
14 views

How to fix login keyring?

I install Opera on a Linux machine. However, every time I open Opera, I got this message: "Authentication required. The login keyring did not get unlocked when you logged into your computer."...
  • 13
0 votes
0 answers
24 views

How to allow users to ssh when sftp enabled

We have an nfs share which is mounted to /mnt/logs. User A is found within group sftp (in active directory) and can only sftp to /mnt/logs. In sshd_config we have: Match Group sftpgr X11Forwarding ...
0 votes
0 answers
16 views

Blank desktop page

I'm running Linux Mint. I just restarted my system after a system update. The login page doesn't wait for a password; it just boots, to a desktop showing only desktop icons. It is not showing the ...
  • 1
0 votes
0 answers
24 views

Set blank password for Login keyring through command line only

Want to set blank password for Login keyring through command line and not through passwords and Keys. Case of automatic login and don't need to be bothered by keyring pass popup .Came across multiple ...
3 votes
2 answers
335 views

How to shutdown pc if no user is logged in?

I am sorry if I have missed any existing answers or solutions - my searching did not bring up any viable solutions yet. The issue: My pc contains Windows and Linux, with Linux being the primary OS. ...
  • 139
0 votes
0 answers
19 views

Logging changes to environment variables

I'm trying to debug some login behaviour where I have both my display manager and systemd (and potentially others) altering some environment variables (the XDG_* variables). Does anyone know any way ...
  • 1
0 votes
1 answer
31 views

determine how the user logged in

I want to know how the user logged in( Using RDP, ssh, VNC, or any kind of...). How can I log a general way that is independent of Linux OS shows the type of user's login?
0 votes
0 answers
11 views

No login screen after boot even though password set for user

When I installed it, I set up using with password option, so it never had the password from beginning, but now I can't enable it. I've three users that are present in system: For akshatk i've set ...
1 vote
2 answers
47 views

Unable to enter first login password that has any accented vowel

After upgrading ubuntu to 22.04 I wasn't able to login because my password has any accented vowel, as for example "ú". This happens ONLY the FIRST login. In my case the new ubuntu 22.04 does ...
  • 31
1 vote
1 answer
28 views

Change in Pam configuration

I have change the password policy to apply the same for root by "enforce_for_root" and for now it apply the password complexity on root yet after removing the "enforce_for_root" ...
  • 11
0 votes
0 answers
14 views

Script in /etc/profile.d prevents me from logging in, is it possible to fix it?

OS: Zorin I put a .sh script into /etc/profile.d to fix an issue I had with an application. The script was this nautilus . & killall nautilus exit 0 Now when I try to log in, I just get returned ...
1 vote
0 answers
83 views

Can you run a program before the TTY login shows up?

I want to execute cmatrix in my TTY for when I connect my Raspberry Pi to a monitor by default. I found a .service file here, and I'm wondering if it could work in my case. Again, I just want cmatrix ...
  • 13
1 vote
1 answer
60 views

Errors when changing user

Every time I use su myName to change my user, I always get these 3 errors. -bash: zstyle: command not found -bash: autoload: command not found -bash: compinit: command not found It only happens when ...
  • 11
0 votes
0 answers
20 views

lastlog only showing results for single user

If I run lastlog with the option -l and a range, I get # lastlog -u 1000- Username Port From Latest nfsnobody **Never logged in** However, I ...
  • 175
0 votes
0 answers
18 views

Redhat console login delay and fail to screen unlock

I have an issue with RHEL 7.9 on a server. Runlevel = 5 (graphical.target) and the redhat login graphical user interface is displayed on the console monitor (connected via vga cable). Typing the ...
  • 4,512
0 votes
0 answers
35 views

Fingerprint authentication text doesn't fit in login box

I am using Linux-Mint and trying to enable fingerprint authentication using fprintd. When I'm on the login screen and a fingerprint authentication attempt fails, the failure message overflows out of ...
  • 1
0 votes
0 answers
24 views

Manjaro / SDDM Login during typing

i have a strange but super annoying problem. Every time i start my pc i go to the login screen and start typing my password. In the middle of typing, i get the message "Login failed". So ...
  • 101
0 votes
0 answers
5 views

Stuck during login on server - conda related?

When I am login to my server, the terminal halts and I have to hit CTRL+C to continue and entering the server. After hitting CTRL+C I get a lot of warnings (?) related to condo I believe. Any idea ...
0 votes
2 answers
83 views

Login SSH using RSA key instead of normal login

I use ssh-keygen to generate a pair of keys on Kali ~/.ssh folder. Great. I also added the public key to ~/.ssh/authorized_keys. Permissions have been set to 600 for that file too. Results are: Putty:...
0 votes
1 answer
205 views

Why do I get error message of "logname: no login name" in linux?

Whenever I connect to SSH session to a remote server, with either mobaXterm or just windows command line, there shows a message that says /usr/bin/logname: no login name I can edit files and see ...
0 votes
0 answers
68 views

Working with multiple users with X

I have two users and need to switch context very often. Both of them uses some web browser, some terminal and misc. apps that can use graphical environment. I could of course use login/logout but it's ...
  • 111
0 votes
1 answer
83 views

Login to Linux knowing only the root password

I tried top disable the password of my Debian user and must have done something stupid since now I can't login at all anymore with that user. I do still have the root/sudo password. I tried to type in ...
1 vote
0 answers
119 views

Not able to enter password when logging in after boot

I'm running a raspberry pi 4b with raspberry pi os lite (which is debian without a GUI) and today while ssh'd in did a sudo apt update. There were a bunch of things that were available to upgrade (&...
1 vote
0 answers
92 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 ...
  • 405
0 votes
1 answer
814 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
32 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
57 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
111 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
719 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 ...
  • 1
0 votes
1 answer
98 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 ├──...
1 vote
1 answer
41 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 ...
  • 129
0 votes
0 answers
855 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# ...
's user avatar
1 vote
4 answers
282 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. ...
  • 4,918
0 votes
2 answers
140 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
395 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 ...
  • 113
0 votes
1 answer
2k 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 ...
  • 11
1 vote
1 answer
278 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 ...
  • 13
0 votes
0 answers
368 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 ...
  • 1
0 votes
2 answers
47 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 ...
  • 3
0 votes
0 answers
76 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
228 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
110 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 ...
3 votes
0 answers
91 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 ...
  • 157
1 vote
2 answers
128 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
412 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 ...
  • 121
0 votes
0 answers
138 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
156 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
12 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 ...
  • 129
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
2 3 4 5
25