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

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 ...
12
votes
3answers
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 ...
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
46 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 ...
0
votes
0answers
17 views

CentOS doesn't go to login screen after kernel update from 3.10 to 5.06 on my HP ML150 server [on hold]

Installed CentOS 7.6 on my HP Proliant ML150 Gen9 server which came with kernel version 3.10. Immediately upgrading kernel to latest mainline version 5.0.6 caused the problem which is being not able ...
280
votes
4answers
152k 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 ...
3
votes
1answer
73 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-...
3
votes
1answer
340 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
852 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
133 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 ...
-1
votes
0answers
31 views

How to fix Kali login grey screen bug [duplicate]

I have a Asus Rog Strix GL703GE and i was installing Kali on my second hard drive. When i do the login, a grey screen appears and everything freeze. What can I do to start graphical without bugs and ...
0
votes
0answers
45 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
783 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
16k 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
881 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
28 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
33 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
112 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
10k 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
77 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 ...
155
votes
8answers
187k 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
54 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
47 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
204 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....
1
vote
1answer
79 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
94 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) ...
1
vote
1answer
35 views

Centos Installation base environment only showing basic functions

I am currently interested in learning how Linux works. I have followed the tutorial How to Install CentOS 7 on VMware Workstation 14 Pro? The problem is, every time I install the only available Base ...
1
vote
0answers
298 views

Using pam_succeed_if to restrict user login to single group

I'm running Debian 9. What I want to do is restrict user logins to uids that are members of the "goodgroup" group. I forget where I got this solution originally, but this is what I have in my /etc/...
7
votes
4answers
597 views

How can I track script which gives me “command not found” right after the login?

When I login, I have these messages: -bash: $'\r' : command not found -bash: $'\r' : command not found -bash: $'\r' : command not found It is quite clear that it is caused by Windows-style line ...
0
votes
0answers
32 views

Ubuntu 16.04 - Cannot SSH with root user, login successfully but closed immediately with return code 254?

I could SSH to 1 server with a non-root user. However, I tried to enable root login at /etc/ssh/sshd_config with this content: # Package generated configuration file # See the sshd_config(5) manpage ...
0
votes
3answers
1k views

disable root login on console

How to disable root login on console on debian and cent os 6. I have tried truncating /etc/securetty but it will disable all the users. I want to disable only root login through console.
0
votes
0answers
17 views

When I connect my Wacom to the PC, Debian gets stuck to Login screen

As title says; also: everything was working fine, I followed all the steps I found in the Linux Wacom Project https://linuxwacom.github.io/ and at the end of the process I could use the tablet with no ...
0
votes
0answers
17 views

Can some or all profile/login scripts be bypassed on local console login?

The situation I'm thinking of is that something in /etc/profile or ~/.profile or ~/.login or similar is causing you to be logged out immediately or some other problem/mischief, and you're at a text-...
0
votes
3answers
55 views

Seeing user two times

Consider I have created a user 'test' during Installation which I use to login to my system. My root user is 'root'. I further open two terminal sessions for each of the users respectively. Now the ...
1
vote
0answers
37 views

Why Wheezy does not login after uninstalling pavucontrol

I had installed PulseAudio Volume Control and audacious on wheezy. I used the HDMI cable to view a video file via TV. After I removed the cable, audacious stopped responding and hanged and because I ...
0
votes
2answers
331 views

How to enable passwordless auth to remote server as a different user?

I'm connecting to a remote server as tom who (obviously) exists on the remote server but not the local server. I copied the id_rsa.pub key generated for local user bob onto tom's authorized_keys ...
3
votes
1answer
784 views

losing unicode support urxvt when logged in as user, root shell has them

I am on a minimal debian testing install. I've set up rxvt-unicode, herbstluftwm, and SLiM. With my username, after SLiM logs me in, all of the urxvt terminal instances i start lack unicode support. ...
0
votes
1answer
83 views

connection to multiple switches from /etc/hosts and export multiple commands output to file

Actually I'm concerning how to log multiple switches listed from /etc/hosts and run on each few commands and store the output to one log file on main linux host. Second question may ask how to connect ...
0
votes
1answer
993 views

Can call login command from terminal

I want to create a user using useradd from root in my terminal window, after it I call passwd to set user's password. So I cant call login username because when I call it from terminal it closes ...
0
votes
0answers
70 views

Very slow login, logout and su on Centos 6.8

It's been two weeks that ssh login, logout and using su to other users on a CentOS 6.8 server been very slow, it takes around 20 seconds to 45 seconds for the login or logout or su to take effect. All ...
0
votes
1answer
1k views

ssh PrintLastLog prints actual login

I connect with my server via ssh and always it shows the last log: Last login: Sat Mar 19 14:05:17 2016 from... but that login is my actual login. What's the utility of this info? It should print the ...