Stack Exchange Network

Stack Exchange network consists of 174 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

1
vote
1answer
30 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
35 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 : #%...
0
votes
0answers
44 views

Kali Linux Virtual Machine login [closed]

I'm currently trying to use kali linux on a virtual machine on my computer. I can install it perfectly fine, but when it shows the login page I cannot login. I've tried my own login that it had me set ...
1
vote
2answers
33 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 ...
1
vote
1answer
40 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
39 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
83 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
70 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 ...
1
vote
1answer
86 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
2answers
68 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,...
0
votes
0answers
21 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 ...
0
votes
0answers
67 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
1answer
66 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 ...
0
votes
0answers
82 views

Debian 9 login loop

I have a Debian Stretch system running kernel 4.18.0-2 stuck in a "login loop": user can successfully authenticate but is immediately dumped back to the login screen. Logging in as root works fine and ...
1
vote
0answers
48 views

login system on a buildroot linux router [closed]

I have a Gemtek WVRTM 127ACN router / modem, If you do not touch any key during startup, linux starts automatically. It's a linux version created with buildroot, the problem is that there is not a ...
1
vote
0answers
45 views

Post-upgrade login loop in Zorin desktop after upgrade to 18.04 [closed]

My friend upgraded his Zorin Desktop with Ubuntu 18.04. Now, at login, he has four desktops to chose from on the login screen: Zorin desktop Gnome Gnome on xorg Gnome classic Choices two, ...
0
votes
1answer
58 views

ssh & local root login works with invalid password in Debian 9

I am trying to login to Debian 9 machine with root username, locally and through ssh.  It logs in with any invalid password.  I want to access the machine with the correct password only.  Why does an ...
-1
votes
1answer
91 views

RHEL: syntax errors with bash script

I was tasked to do a bash script that can audit logins in mysql. If you activate the general_log option in /etc/my.cnf, you can register all the activity that mysql does and it get write (in my case) ...
0
votes
1answer
22 views

Can't enter in Ubuntu because fstab error

When I shut-down or restart the machine (VM) it won't log in to the system. I get the following error and then, continuous black-screen. This is my fstab, I don't know why uid=1000 is wrong. User ...
1
vote
1answer
131 views

Fedora 29 KDE edition stuck in login loop on fresh install

Recently moved from Linux Mint 18.3 Cinnamon edition to Fedora 29 KDE edition keeping the home partition. Problem was that I couldn't progress past the login screen, I was stuck in a login loop.
0
votes
2answers
74 views

Login not work for all users - systemd

I have multiuser mode in my linux and when I try login don't work. How to fix it? From liveos i read journall and I have error: Nov 15 12:06:18 localhost.localdomain systemd[1288]: user@0.service: ...
-1
votes
1answer
38 views

Could not log into new VM with correct password

Ubuntu 18.04.1 LTS ubuntu-server tty1 ubuntu-server login: woody Password: - that password section keeps not showing anything even though I've tried with the correct password. Since I used OS X, I go ...
0
votes
0answers
60 views

Dropbear: monitor all SSH login attempts

I'm trying to find a way to monitor all SSH login attempts (specifically the failed ones) on my OpenWRT operating system. I'm using Dropbear as SSH Server and I'm not able to find any implementation ...
2
votes
1answer
413 views

Linux Mint 19 no login screen

I have just created a bootable Linux USB and added three accounts: My Account, My brothers account and a Guest account. every time i boot Linux up it used to log me straight into the "mint" default ...
3
votes
2answers
59 views

How to use fish on remote servers that have it installed without changing login shell?

I regularly ssh on several different servers, some of which don't have fish installed, but many do. I'd like to get fish as shell if available (changing midway is always tedious, and you lose the ...
1
vote
0answers
39 views

Blank login screen

When I boot into Linux, then I should get a login screen where I enter my password. But I actually a black and a blank screen, literally. Because I know this is the screen where we enter the password ...
-1
votes
1answer
42 views

su - root failed with error “Cannot execute username: No such file or directory”

I can't login to root on VPS server. But login to usual user is successful. I've tried to login username and after that change to root by commands su - root and su -. These commands fail after ...
1
vote
1answer
56 views

Is it possible to get a login prompt on a remote server, directly after boot?

The usual workflow to connect to a remote machine is as follows: Log into local machine Fire up a terminal window Type "ssh user@r.lan" Log into remote machine I want to get rid of the local Log-in, ...
-1
votes
1answer
31 views

Configuring Automatic Login for Ubuntu

When booting up into Ubuntu it has a dialog with the default user and an input field for a password. How do I disable this prompt so the default user is automatically logged in?
0
votes
1answer
17 views

KDE SC 5.10.5 on Kubuntu 17.10 / After logging in, user has only primary group assigned

Some time ago (can't tell exactly when, but it's been one week at least), users logging into KDE on this system stopped being assigned membership to their supplementary groups. For example, user "...
0
votes
1answer
36 views

I cannot source profile inside .xsession (Debian Buster)

I ditched gnome by ditching gdm in my Debian install and replaced it with xdm and fluxbox. The problem that now occurs is that logging in to fluxbox doesn't work. I type my username and password, ...
0
votes
1answer
39 views

Can't log in after fresh install of Linux Mint

I installed Windows 10 Pro on my old ThinkPad R60 and shrank the NTFS partition to 50% to make space for a dual boot Linux installation. Then I installed Linux Mint Debian Edition 3, creating separate ...
0
votes
1answer
290 views

How to automatically run “ssh-agent bash” and “ssh-add” when log in? [duplicate]

I have a scenario where, whenever a user logs into a CENTOS machine via SSH, I need to have the following commands run: ssh-agent bash ssh-add [This other thread explains why I am using those ...
2
votes
0answers
364 views

Re-login command? [closed]

There is already rebooting, but sometimes, I would just like to automatically relogin to prepare quickly for carrying a laptop without needing to wait the logout to finish in order to re-login ...
1
vote
1answer
532 views

Debian 9 Stretch default login background location

I want to personalize my login a bit, but for the life of me I cannot figure out how to change this image. I tried changing the .svg's filepaths at /usr/share/wallpapers/DebianThisOrThat by editing ...
3
votes
0answers
128 views

Fedora 28: Generate kerberos ticket on login

I'm trying to generate kerberos ticket when I login on my computer(Fedora 28). I want to achieve it using PAM. my /etc/pam.d/system-auth looks like this: auth required ...
5
votes
5answers
348 views

Are there types of Unix shells? [closed]

I found there are shells like nologin, false, and true. What else are there? I don't know what is the correct keyword to be used to list the shells. Whenever I search using the keywords linux shell ...
0
votes
0answers
71 views

how can I automate the process of login to my remote host via jump host

I am using a Windows machine and I connect to my remote host via a jump host using a SSH software (I use mobaxterm for now). Now my login process is like this: Load the jump host session I have saved ...
2
votes
2answers
214 views

Disable ssh password authentication programmaticaly

I am provisioning a machine using packer. The tool offers shell provisioning functionality so I am able to run whatever shell commands I want. I would like to disable ssh password login. Is there a ...
1
vote
1answer
52 views

Is this output from “who -a” normal?

This does not look normal to me: who -a system boot 2018-09-04 11:59 LOGIN tty1 2018-09-04 11:59 685 id=tty1 run-level 5 2018-09-04 11:59 user + pts/...
3
votes
1answer
75 views

Creating users own “root” [closed]

So my goal on this is to give each user their own "root" by basically making a loop drive with a copy of core files. I know there is stuff like jail shell, and all that fun stuff that makes it a bit ...
1
vote
1answer
38 views

Can't log in to other users on a debian system

I can't log in to KDE, as other users to the GUI on my Debian systems only the user created at install. I can log on in the command line: su - user into the users login but only in the shell. I ...
-1
votes
1answer
208 views

SSH without the login ID or password [duplicate]

My workstation is running Linux Centos7 is part of a local network. Every computer in this local network is running Linux Centos7 as well (the same build). Every time I ssh into a server, I need to ...
4
votes
2answers
380 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 ...
0
votes
1answer
486 views

tty1 missing login prompt

I have a clean Debian Stretch installation. It used to be the case that after booting I would end up on tty1 with a login prompt, and after logging X is started. I wanted to automate the logging in (...
1
vote
1answer
377 views

XFCE/LightDM: Tearing-Fix vs. No Desktop After Logging in

I have Manjaro/XFCE/LightDM and a GeForce GT 710 and I followed this guide to get rid of tearing. I added those three lines to my X-configuration. After I log in in the greeter the screen only shows ...
3
votes
1answer
66 views

Can I activate password feedback on a tty?

A few weeks ago, I decided to clean up my keyboard and ended up messing up a few keys as I was snapping them back onto the board. As a result, some characters have become annoyingly difficult to enter....
1
vote
2answers
435 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)
4
votes
0answers
25 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. ...
1
vote
1answer
22 views

linux/xfce4: How to get rid of “choose session name”?

I've been running xcfe4 for a long time with no problems under linux. Today I was making some changes to grub and doing some reboots to test it. Now, every time I enter my login password via the ...