Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [login]

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

0
votes
0answers
12 views

Fedora 28 hangs when logging in shortly after boot

I am running Fedora 28 on a ThinkPad T460s. On the first log in, directly after booting, the screen becomes grey with the mouse pointer visible, but I cant move it. It stays like that for a few ...
1
vote
2answers
2k views

How to start a script after login using gdm?

I am using arch linux with xmonad, and I login using gdm, but to make xmonad work properly I have to run a script directly after login (actually I want to run .xinitrc after login using gdm to set ...
0
votes
1answer
30 views

Change tty respawn in Debian 9 (Stretch )

I try to change respawn tty to some other bin file , before that I configure that on /etc/inittab But now this file doesn’t exist ; how can I do that ? ( my goal is “ call my binary instead of tty ” )...
4
votes
3answers
622 views

Explanation for the meaning of content of the /var/run/utmp file

I would like to understand the content of the following file system /var/run/utmp. When I use the command od to open it I see the following: [john@iceman ~]$ od -c /var/run/utmp 0000000 002 \0 \0 ...
3
votes
1answer
2k views

Login Keyring in Fedora 25

Whenever I login to my computer I get a window which says Enter password to unlock your login keyring and The password that you use to login to your computer doesn't match with the login keyring To ...
13
votes
4answers
8k views

Weird SSH issue, ssh works with -t but freezes without it

When I ssh into one of my servers, it seems to log in, but then hangs before giving me the prompt (message debug2: shell request accepted on channel 0 is the last log entry). Though the odd thing is ...
0
votes
1answer
75 views

CentOS XFCE stuck at splash screen

When I log a user on a CentOS workstation with XFCE, the machine get stuck on the splash screen. It just never disappear. Even if I set the Slash screen settings to None. Those users are part of an ...
0
votes
1answer
31 views

Why does vsftp return 530 incorrect login?

I started a vsftpd server on my arch linux desktop and then tried to log in to it using using my normal user. But I get "530 Login incorrect" when I attempt to log in: $ systemctl start vsftpd $ ...
286
votes
4answers
155k views

Difference between Login Shell and Non-Login Shell?

I understand the basic difference between an interactive shell and a non-interactive shell. But what exactly differentiates a login shell from a non-login shell? Can you give examples for uses of a ...
0
votes
0answers
34 views

Unable to login to Fedora 28 system

I'm unable to login to my Fedora 28 system. I have a dual boot system with Fedora 29 and 28. I often use the Fedora 29 system and now booting the Fedora 28 after long days say around 2 months. I'm ...
1
vote
2answers
920 views

Stuck in a login-loop in lightdm and gdm, but not with xfce and other systems

The interesting part is I found that I was able to login with xfce but not with either lightdm or gdm. (I am using Ubuntu 16.04)
3
votes
1answer
84 views

How to configure a shutdown at the xth wrong entered password?

Having an encrypted hard drive is all well and good, but chances are that if someone is gonna steal your laptop, it’s probably not going to be turned off. Most likely, it will be stolen in a powered-...
1
vote
2answers
2k views

Turn on bluetooth on login screen

Is it possible to have bluetooth turned on and use a bluetooth keyboard when at the login screen? So far I only managed to start the bluetooth daemon when logged in. I added it to systemd with ...
4
votes
0answers
1k views

Errors after offline Kali installation on Dell XPS 13

Trying to get Kali Linux Rolling 2016.1 installed on an out-of-the-box brand new Dell XPS 13 Developer Edition (meaning it came with Ubuntu 14.04 LTS installed on it). I'm installing it with no ...
3
votes
1answer
1k views

Running a shell script on n failed login attempts

I'd like to run a script if the login on my machine fails 3 times (not ssh, but someone in terminal trying to login, or someone trying to physically login). Also, is if it is possible to configure the ...
0
votes
3answers
132 views

Is there a way to switch to “su -” after switching users through “su”?

Basically what I want to be able to do is to switch to having used "su -" instead of the traditional hyphenless "su" after already using "su" to switch to another account. My initial thought was to ...
6
votes
3answers
18k views

How do I enable auto-login in Mint 18?

Mint 18.2 64b Cinnamon 3.4.3 This is running in a VM on my machine so I'm not worried about login security. I've been looking around on the Mint forums and only found a lot of threads about ...
1
vote
1answer
4k views

Login incorrect on CentOS

I've downloaded a CentOS-7-x86_64-Minimal-1511 iso file for testing purposes. I also have Hyper-V on Windows 10. I loaded the image file and as far as configuring the below there was not much to do ...
0
votes
1answer
13 views

Unable to login for graphical session on Mint + Not available space on filesystem

I've been trying to start a graphical session with all users on my system but I've been always reverted to the login screen. After initiating a terminal with (Ctrl+Alt+F1) from there, I've been able ...
21
votes
7answers
30k views

How can I change what's displayed at a login shell?

I'm getting more familiar with tweaking the way things look in a shell via the prompt (.bashrc), but I'm now trying to change the initial stuff displayed when I first log in. On my EC2 instance, this ...
8
votes
4answers
3k views

Restrict the times a user is allowed to log in

We have several Backbox 3.13 systems built on Ubuntu 12.04. One of my teenagers does not understand the concept of this thing called "sleep" and tends to get up to play on the computer. I'm trying to ...
3
votes
1answer
2k views

Cannot bypass login screen with correct credentials and no errors in Kali Linux

Today I downloaded the latest VMware image of Kali Linux (Kali Linux 64 bit VM). After that, I configured the hostname in /etc/hostname and adapted also the /etc/hosts to set permanently a hostname. ...
2
votes
1answer
4k views

Elementary OS: Accidentally installed Ubuntu Login Screen

When I restarted my Elementary OS Laptop today I was shocked, because I was on an Ubuntu-styled glitching Login Screen. I guess I accidentally installed it, by trying to get ubuntu-tweak-tools on my ...
1
vote
2answers
1k views

`xmodmap` not working on startup

I recently installed Debian 9 and inserted my usual ~/.Xmodmap file and added xmodmap ~/.Xmodmap to my .xsession. To my disappointment this didn't actually work. For reference, I run i3 from startx ...
0
votes
1answer
58 views

Recovering from a 'corrupt' theme installation on Debian

I recently installed a new theme on my Debian Stretch machine, however after rebooting, I am unable to get past the login screen. If I enter the incorrect log in details, the systems tells me that the ...
3
votes
1answer
351 views

Every AD SSH login starts with a failure in audit.log

Whenever I login to my Centos 7.x server I always get a transparent failure in the audit.log. This is making my attempts to have a daily script for failed logins very difficult as we can't be sure ...
2
votes
1answer
924 views

authentication failure on new arch install

I'm setting up a new machine running Arch and after going through the beginner's guide I rebooted into the machine and when trying to log in as my user or as root with correct passwords I get back the ...
2
votes
0answers
134 views

The auto login configuration can't pass the first appeared screen after reboot/shutdown

Because the device is a tablet, I would like to can use it "take away" also without the attached wireless keyboard, that's why, I intend to use the auto login. I would like to resolve if it is ...
3
votes
1answer
2k views

How to use Desktop Lock Screen and turn off XScreenSaver Login Screen?

I am running Linux Mint 17.1, Cinnamon Desktop, Compiz, and XScreenSaver. I want to be able to use the Desktop Lock Screen and turn off the XScreenSaver Lock Screen. Turning off the Lock Screen in ...
0
votes
0answers
48 views

Abnormal behavior on Debian 9 after crashes

After I tried to install swift on my Debian 9 machine, Suddenly I faced a big problem (I couldn't access Debian GUI) I solved this issue by some terminal command like sudo apt-get install gdm3 and ...
2
votes
1answer
810 views

Using wget to download images in facebook conversations

This looks a bit harder than usual. I'm a new wget user and I was thinking that maybe it's possible to login into Facebook and download images from a specific conversation. I mean, I'd like to tell ...
9
votes
3answers
17k views

Turn on NumLock on startup in Linux Mint

Situation: When I turn on my Linux Mint 17.3 / 18 Cinnamon the NumLock is Off in the Login window. Objective: Turn on NumLock automatically at startup.
1
vote
1answer
923 views

~/.bash_profile being executed for non-login shells

My bash_profile looks like: takeapic #print status #do other stuff source ~/.bashrc For some reason, every terminal emulator I call executes this script. Shouldn't it be executed only once, when I ...
-1
votes
1answer
32 views

Trisquel:What to type when I set a blank password? [duplicate]

I recently installed trisquel on my computer. When I decided to use the terminal and sudo I was prompted to use a password despite the fact that I set a blank one. I want to know what I am supposed ...
0
votes
0answers
48 views

How to unlock the login for the root?

How to unlock the login for the root? In Ubuntu 14.xx and previous versions of Ubuntu, it was possible to log in to the graphical session as root. Now i can't do this anymore. How to unlock the root ...
1
vote
2answers
5k views

phpmyadmin blank page after login using nginx / php-fpm

i can access www.***/phpmyadmin to login. if i log in with mysql user just hit blank page with no error. System runs on raspbian. Installed : nginx 1.2.1 , php5.4.36 i tryed login from different ...
1
vote
1answer
114 views

Run script before anything is displayed to the screen after login

Last Login: Sun Aug 13 13:59:42 CDT 2017 on tty1 Welcome to Ubuntu 17.04 (GNU/Linux 4.10.0-30-generic x86_64 and so on... The text above is displayed immediately after login. I would like to run a ...
3
votes
2answers
1k views

Multiple PCs network centralized system authentication

(I couldn't really choose an accurate title as I don't know exactly what the feature I'm looking for is called. Sorry about that. I hope that the following lines may clear this aspect.) I own a dozen ...
2
votes
3answers
11k views

Automatically Login on Debian 9.2.1 Command Line

I just installed Debian 9.2.1 on an old laptop as a cheap server. The computer is not physically accessed by anyone other than myself, so I would like to automatically login upon startup so that if I ...
-1
votes
1answer
78 views

Can not login on Debian

After running once startx command in terminal i can not login as user anymore to my normal desktop. It still works as root. I am using the Mate desktop environment. Can any one help?
1
vote
2answers
3k views

Restore Mint logon screen

I'm using Mint 17.1. Yesterday I uninstalled cowsay and fortune as I never use them; fortune had dependencies that were also removed, I assumed because they were no longer needed. However, on ...
157
votes
8answers
190k views

What's the difference between /sbin/nologin and /bin/false

Technically, unless pam is set up to check your shell with pam_shells neither of these can actually prevent your login, if you're not on the shell. On my system they are even different sizes, so I ...
12
votes
4answers
23k views

What are the different ways that a message can be displayed to a bash shell after a user logs in?

I have a CentOS 5.7 VPS using bash as its shell that displays a branded greeting immediately after logging in via SSH. I've been trying to modify it, but can't seem to find where it is in the usual ...
3
votes
3answers
15k views

Script for testing SFTP login status?

I need to perform an automated backup task that connects to an SFTP server. The first stage involves testing the server connection by connecting to it. To be absolutely sure that it is connecting to ...
0
votes
1answer
56 views

Mint - disk is full (prevents login)

I had 0 bytes free and even when I deleted something the number of free bytes stayed still zero. So I tried to restart it and I can't login now. I tried console Ctrl+Alt+F1, but I don't know login. I ...
0
votes
0answers
25 views

Is it possible to set at or cron job at logon event? [duplicate]

Is it possible to write an at or cron job script that will execute on a particular user's logon? If so, what will be the method?
3
votes
1answer
50 views

logout/login not enough to update group membership

I just added myself to "docker" group on my workstation. I dutifully logged out and in again on my desktop environment but I'm still not on the group: mcon@cinderella:~$ id uid=1000(mcon) gid=1000(...
1
vote
1answer
219 views

Xwayland crashes frequently

My system is running Ubuntu 18.04 LTS. I am facing this bug every time I turn on my pc and when my PC wakes up after sleep. Unfortunately, I found no solution when I searched on Launchpad and Bugzilla....
2
votes
1answer
172 views

How to configure Linux to authenticate users based on Keycloak user database?

I have an existing user database in Keycloak. I want to build a Linux machine which logs in users according to the user database in Keycloak (username, password). How can I accomplish this?
0
votes
2answers
107 views

What does the Unix login program/command do?

I am reading APUE and it keeps refering to the login program, but I still don't know what it is doing in my operating system (Ubuntu). §8.11: Normally, the real user ID is set by the login(1) ...