Questions tagged [login]

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

6
votes
6answers
56k views

Linux User not able to login

I am trying to create new users using useradd command using root credentials it is getting created properly but when I log in with the newly created user with its credentials using a PuTTY Console, I ...
-1
votes
1answer
153 views

On Kali, by default terminal starts with root privileges, how to stop that? [duplicate]

On other distros when I open terminal, it is usually either ask for password or logs in with normal user priviliges, in Kali it logs on automatically with root. I want to stop that.
0
votes
1answer
746 views

Password fail delay is too long - Linux Mint 17

The delay after a failed password is very long. In /etc/pam.d/login, FAIL_DELAY is configured as auth optional pam_faildelay.so delay=3000000 however, actual delay is about 12s. This ...
1
vote
1answer
356 views

CentOS 7 “Invalid user __ from xx.xx.xx.xx port xxx” - Not showing the attempted username entered

When taking a look into my /var/log/secure logging file, I'm able to see attempts to log into my CentOS system via SSH, however, the username is blank. I've recreated this myself by entering false ...
2
votes
1answer
1k views

Login incorrect after reboot

After reboot my centos 7 login is not working. I can't login, it always appears "login incorect". I remember that the last significant change I made was in the file "sudoers". I added: username ...
0
votes
0answers
339 views

Cannot login with Linux Mint 19 via terminal

I cannot login via terminal (I do not know if this is because of Mint or Ubuntu). When I enter the username, I want to enter the password, but what it does, it autoenters with an enter it goes like ...
0
votes
1answer
666 views

Login loop Linux Mint 19.1

I am unable to login to my linux desktop since I rebooted earlier today. Did not notice anything strange except firefox crashing a couple of times. It seems like the system is in a login loop. After ...
1
vote
0answers
498 views

FUSE hangs trying to mount network filesystem on login

I am using Fedora 23 and I have autofs set to automount some s3fs FUSE filesystems when directories under /mnt/s3 are accessed. Since I set this up, I always experience an additional delay upon ...
0
votes
0answers
273 views

TTY Login hangs after username input with constant newline

Problem: After a restart my Ubuntu Server 18.04 installation greets me as usual with the tty1 login prompt. The input of the username works as usual but after hitting enter the password prompt is ...
7
votes
2answers
56 views

Ask local user for confirmation before letting someone else log in via SSH

I would like to know if there's a way to ask the local user (logged in via GUI) to confirm/deny any other authentication attempts, such as someone trying to log in via SSH? The scenario is this, I ...
0
votes
0answers
48 views

login not working from new tty but with su <username> works

I'm installing LDAP auth on CentOs7 (command-line way). I'm facing a strange behaviour: [root@client]# su ldapuser01 (run as root) works and let me connect as ldap user (without prompting for a ...
0
votes
1answer
448 views

SSH connection “This account is currently not available”

I tried to connect at a SSH server in 3 different ways, but nothing works: using putty - after I enter my password the putty window automatically closed, and in the log file there is: "This account ...
0
votes
0answers
36 views

Can't boot into a specific account on GalliumOS, can with root account, from greeter

I was trying to log into my main administrator account, and it seems to accept my username & password and begin to login normally, as the standard (for me) blank purple screen pops up, but then it ...
0
votes
0answers
21 views

xscreensaver - how to log successful logins

I would like to log successful login attempts from screensaver. Running xscreensaver with xscreensaver -verbose -log ... does give me something usable: input finished. pam_conversation (...) ==&...
0
votes
0answers
98 views

Login Window is blank after booting

My Linux Mint 18 is not displaying my Login Window after booting. Screen is just black. I can only login to system from Ctrl+Alt+F1 console and with startx. After that everything is as usual. Recently ...
60
votes
4answers
73k views

What is “.xsession” for?

What is the purpose of the .xsession file in the home folder? What should be put in there? The desktop environments don't use that file and for the X startup from the tty there is .xinitrc.
6
votes
3answers
4k views

How to see password as we type it

In debian wheezy terminal I type su - It ask for password, which I type but it doesn't show anything as Password: I want to it to show at least some asterisks as the placeholder for the password ...
0
votes
2answers
58 views

do incorrect usernames get logged?

i was wondering if a GUI login attempt with a non existing username will be written to any log files? (im using mint with cinnamon and Kali with gnome3) I accidentally put my password in as username ...
1
vote
0answers
49 views

!! versus * in /etc/passwd [duplicate]

My (admittedly dated) understanding of unix is that in /etc/passwd if the second field is 'x' then the identity can login with a passwd that matches a hash found in /etc/shadow. However, when I list /...
-3
votes
1answer
495 views

Kali-linux default password for live session [duplicate]

I tried to install kali through Unetbootin but it failed. After that, I tried to go on live one, but without setting any password. It asked for that as default. I entered root as username but don't ...
12
votes
2answers
2k views

A consistent and safe approach to passwordless accounts with SSH

I must admit that I like servers without passwords in some cases. A typical server is vulnerable to anyone who has physical access to it. So in some cases it is practical to lock it physically and ...
0
votes
0answers
44 views

I have issues when I login the shell of Debian 9

When I write my user and password it goes all fine until I push the enter button. The screen goes grey, blinks a few times, again grey, then freezes like that. So I push the reset buton and when its ...
0
votes
0answers
106 views

Cannot login in to arch linux

I installed arch a day ago and it was fine until yesterday but after I changed some settings in the /etc/pam.d/system-local-login to use fingerprint login and reboot, I can't login in to arch linux. ...
3
votes
2answers
975 views

Does SSH ProxyJump require local shell access?

i have an account that can ssh to localhost alright: $ ssh root@localhost # logout Connection to localhost closed. it does not work with the JumpProxy feature of ssh however: $ ssh -J root@...
0
votes
0answers
28 views

How to login and Download the file in the same session in R language?

I am trying to do login and download the file with using a package httr and jsonlite in R language. I write the following code : library(data.table) library(jsonlite) library(httr) library(properties)...
3
votes
1answer
260 views

Displaying system information at graphical login prompt

I am setting up Debian computers for my high school and I would like to somehow customize LightDM to display system and network information at the login screen. The big picture is the following : ...
4
votes
1answer
51 views

Temporarily restrict logins for a user to a single IP

Background I have a bunch of Raspberry PI 3 devices running Linux, which are shared among multiple engineers. For the sake of simplicity, each Linux box has the same default username/password (i.e. ...
0
votes
1answer
78 views

Can't login as user

Everything works as root. I can startx, and get into iceWM. I'll be using i3, but that works aswell through lightdm if I login as "other" then write "root". Loging in in a TTY works aswell, but only ...
3
votes
1answer
2k views

Configuring Login Prompt with agetty

I'm playing around, and trying to streamline/harden my tty login prompt to display a minimum of system information. I modified my /etc/issue and /etc/motd to be empty, and touched ~/.hushlogin. That ...
8
votes
5answers
41k views

Windows Remote Desktop login failed with Ubuntu Server 12.4

So, I have a server that I have RDC (Remote Desktop Connection) set up on, and I am looking at making it globally available on the internet so that I can access it from anywhere. I am currently in the ...
1
vote
1answer
32 views

Login script that requires user to re-enter displayed random number string

I currently have a script that runs upon a user logging into a Linux server and at the end it prints [Terms of use agreement prints here] read -p "Agree and continue..." -nl -s However, most users ...
0
votes
3answers
249 views

PAM doesn't block my account after 5 failed logins

I would like to block account after 5 failed password on login screen. I follow this article but it doesn't takes effect. I don't know why. This is the content of my /etc/pam.d/system-auth file : #%...
9
votes
1answer
1k views

Who is starting my ssh-agent, and why won't it properly terminate?

This is a problem I've been having for a long time, but every time I try to figure something out I get lost, so I figured I'd better ask here where maybe someone more experienced could help me. ...
1
vote
2answers
50 views

Use Key Based Login on Desktop Linux

I'm using Pop!_OS (essentially ubuntu + tweaks with a gnome environment) and I've recently acquired a Mooltipass hardware password manager. This tool has the capability to manage SSH keys. I was ...
52
votes
6answers
109k views

Disable user shell for security reasons

We have several user accounts that we create for automated tasks that require fine-grained permissions, such as file transfer across systems, monitoring, etc. How do we lock down these user accounts ...
1
vote
1answer
59 views

Why calling agetty directly from bash doesn't seem to have any effect?

I try to call /usr/bin/agetty - from bash in a terminal-emulator(both X-based and Kernel-based), then it asked me to input a username, but after input that username, it just "freeze" a little while, ...
0
votes
0answers
44 views

What is the “login session” of a process? [duplicate]

In the manpage of ps lsession SESSION displays login session identifier of a process. What does the "login session" of a process mean? ps has other fields cgname and cgroup for the cgroup ...
0
votes
0answers
824 views

Linux Centos does not boot on login GUI

I would like to boot my Linux Centos 7 on Graphic User Interface login page but it doesn't. I have already installed GNOME DESKTOP. I did: systemctl set-default graphical.target my grub file is ...
-3
votes
1answer
217 views

What does `lightdm --session-child 12 19` mean?

What does lightdm --session-child 12 19 mean in the following output? Why does lightdm fork a process to execute the above command? I don't find --session-child in lightdm manpage. Thanks. $ pstree ...
3
votes
2answers
130 views

How does `sshd` perform logging in activity?

From https://unix.stackexchange.com/a/489913/674 connecting using SSH counts as logging in. From How can I run a process as its owner or become its owner without logging in? connecting with SSH,...
1
vote
1answer
90 views

What is logging in?

From https://unix.stackexchange.com/a/489913/674 Logging in is a user-space construct; the kernel doesn’t care about that. There are multiple examples of this; for example, cron jobs can run ...
3
votes
1answer
6k views

Automatic login still doesn't work after editing custom.conf

I've edited /etc/gdm/custom.conf to show the following: [daemon] AutomaticLoginEnable=true AutomaticLogin=username Where username is obviously the username I'd like to automatically log into. I don'...
0
votes
0answers
34 views

Cannot log in to ubuntu after modifying .profile file

I modified .profile file, by adding some PATH to a program to it. I now cannot login to my ubuntu os. I tried to access via ctrl + alt+ fn but the console does not recognize any command I type. It ...
8
votes
3answers
8k views

Linux mint 18 64-Bit session failed

I am trying to login on my laptop. I write the password and then I am logged in to a black page, where a notice said "Your session only lasted less than 10 seconds. If you have not logged out ...
1
vote
0answers
34 views

How can I change (volume) hotkey permissions on debian login screen?

usually I use the laptop to hear music at home while doing things off the computer. As it is supposed, after some time of inactivity the screen saver starts on my debian (stretch) system. To change ...
0
votes
0answers
166 views

Arch linux greeter without DM

I'm using Arch Linux with i3wm with xinit which results in having tty1 as my "greeter". I wanna know if there is any possibility to have a greeter, for instance, Deepin greeter at login prompt ...
0
votes
0answers
392 views

Gray screen after login Fedora 27 / Wayland or Xorg

After shutdown, Fedora 27 boots to login mode, after loggng in freezes at gray screen. I can go into the shell, CTRL-ALT-F2 and everything seems to be fine. I've tried Wayland and XOrg, I even ...
32
votes
2answers
14k views

How does one change the delay that occurs after entering an incorrect password?

After entering an incorrect password at a login prompt, there s an approximately 3-second delay. How can I change that on a Linux system with PAM?
0
votes
1answer
79 views

Is there a totally empty Bash file I can use (or create) to extend .bashrc and .profile?

I know that by principle, one shouldn't change .bashrc and common changes like creating an alias should better be done in .profile instead. When I rent a new IaaS system with Bash as main shell, the ...
1
vote
1answer
148 views

Samba login fails

I setup an Samba server and I tried to connect to it from a machine in the same VLAN, I can see the shares, and it asks me for a password but after that it fails with the following 2 lines in the LOG: ...