Questions tagged [login]

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

Filter by
Sorted by
Tagged with
0
votes
2answers
43 views

How to force hiDPI scaling mode on boot in Pop!_OS/Gnome

I asked a similar question about hiDPI scaling here. This question regards a universal hiDPI mode, the other question is about fixing scaling on a specific application. I am using a 4k monitor in ...
1
vote
0answers
5 views

Login Loop Black Screen when opening terminal

I'm having a huge problem that is made of different small problems. I'm Caught in a login loop but when I call a terminal to fix the problem I end with a black screen asuming there is something wrong ...
0
votes
0answers
18 views

How to exclude a specific user from not getting locked-out after the inactive days

I know the PAM rule using pam_faillock to lock-out dormant users and not allowing them to login via console or ssh after certain number of inactive days. But I want to exclude a specific user from ...
0
votes
0answers
3 views

How to diagnose slow gnome login on rhel7

Summary Recently my RHEL7 workstation at work has been taking a long time (minutes) to go from entering my password on the GUI login screen and my desktop actually appearing. I would like to know ...
0
votes
1answer
999 views

Script a list of users who have been logged in for more than 24 hours?

I am attempting to create a simple script that will produce a simple list of users who are logged into a system for longer than 24 hours. I've seen the w command is good for being able to view idle ...
1
vote
0answers
31 views

Display managers don't log me into my user account

I have been using Arch Linux for more than 5 years now (and linux for about 10 years). Never had such a problem. Searching the internet also did not reveal any answers to this ---- Here are the ...
2
votes
1answer
69 views

Aborting 'wrong username' logins

Occasionally when I SSH or Telnet into a remote server (using Putty) I fat-finger my username and don't realize it until after I hit ENTER. The subsequent 'password' prompt of course never works ...
1
vote
0answers
25 views

Linux Mint: Normal boot after login turns screen black

If I do a standard boot of Linux Mint, it goes to the Login Screen, but as soon as I login, it flashes the desktop then the entire screen switches off - including the back light. Luckily, if I boot to ...
-1
votes
0answers
10 views

Password not typing in after chromeum update

Chromeum said to update from within my program, not knowing there may be conflicts (deleted cinnamon), after reboot it won't acknowledge my password. I used crtl+alt+f3 and the curser just flashed ...
-1
votes
0answers
24 views

I have filled with zero sdc and can't login at gui

When I tried to format to default my usb thumb ( /dev/sdb ) by mistake I have filled /dev/sdc with zeros with the next command: dd if=/etc/zero of=/dev/sdc My last device added was the thumb, so I ...
-3
votes
1answer
91 views

Cannot login again since 6 days!

I have delete timeshift complete with sudo apt remove timeshift and I set the root-reserved percentage on the root filesystem from 5% to 0% because here (https://bugs.launchpad.net/ubuntu/+bug/1738065)...
1
vote
2answers
36 views

Execute a script before login screen

I am trying to run a script before the login screen in Ubuntu 19.04. The script checks if there is an external monitor connected to my notebook and if there is one it changes the resolution to ...
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 ...
0
votes
1answer
1k 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 ...
-2
votes
0answers
20 views

Fedora 30 log in loop

I have a problem and can't figure it out on my own so I thought maybe someone here could help. I'm using Fedora 30 5.1.15-300.fc30.x86_64, GNOME 3.32.2. When I try to log in it looks like it's gonna ...
0
votes
0answers
10 views

Disable any and all screen locks/sign ins etc on Ubuntu 19.04

I don't want any security on my ubuntu box. This is because it is a virtual box, when I open it up I just want it to be ready to roll, and not need to type "osboxes.org" or hit enter etc. This is ...
-2
votes
0answers
49 views

Blank space before username in Debian 9 login?

Whenever I want to log in to my Debian 9 machine, there is already a blank space entered where the username is supposed to go. Screenshot: This started to happen only a while ago and I wasn't able to ...
4
votes
1answer
1k views

Purpose of the autostart-scripts directory

A user can place .desktop files in his ~/.config/autostart/ directory to run a script on login (session start) in Gnome, or indeed any Freedesktop-compliant environment. But, on my openSUSE Leap 42.2 ...
0
votes
0answers
10 views

Proxy git user's SSH login to internal GitLab CE container

I have a metal box with Ubuntu and I have set up GitLab CE inside a Docker container (whose IP address is only accessible within the docker0 network), so there's only one public IP for the whole ...
2
votes
0answers
30 views

What are the directories and configuration files used to set the umask by the superuser in Solaris UNIX?

One file I can think of is the .profile file in the user's home directory. However what are the absolute paths (directories and file names) that are used to set the UMASK level at the operating ...
0
votes
0answers
30 views

creating a systemd service to mount the encrypted home

I hope my message is posted in the right section, i'll try being as precise as i can. i'm running: arch-linux with LTS kernel (4.19.52-1-lts) zfs on root (0.8.1). systemd: 242 (242.29-1-arch) ...
1
vote
1answer
47 views

how to start a shell that will display login / password prompt?

lets say that I have a program that is running in tty1 displaying a menu, one of the entry of this menu is to have access to the shell, which command can I start to be able to have a prompt asking for ...
3
votes
4answers
13k 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
0answers
20 views

My Linux Mint machine does not ask for a password on boot [duplicate]

When I boot my Linux Mint machine, and when I wake it, it logs me in automatically. I wanted that when I installed my OS, but now I want to be asked for a password. If I go to Control Center > Users ...
1
vote
1answer
2k views

Set environment variable for all login scenarios

I'm using Microsoft's dotnet in linux (ubuntu), and it has dial-home telemetry. I want to disable it, and the instructions say: The .NET Core tools collect usage data in order to help us improve ...
0
votes
0answers
23 views

Run script if phrase is typed in bash's password prompt

Is there a way to run a shell script if a specific incorrect password is entered in the bash login? (ie. my actual password is dog, but when I type in only cat it runs a script. I'm hoping to use this ...
8
votes
2answers
7k views

How many users does Linux support being logged in at the same time via SSH?

I know Linux supports multiple users being logged in at the same time. But what's the maximum number of users that can be logged into Linux at the same time? I see there are there are 69 tty files (...
11
votes
4answers
54k views

How to write a shell script that gets executed on login?

I am trying to write bash shell script in Ubuntu 11.10 Linux distro, that will get executed automatically on logging into the system. But I am not able to figure out that what to write in script that ...
0
votes
1answer
61 views

New User unable to login via ssh

I'm trying to set up two new accounts in a Redhat 6.10 environment. The first account that I created works fine no issues. I used the same steps and the second account is unable to login via ssh with ...
38
votes
5answers
33k views

How to remove “You have mail” welcome message

When I open up my terminal it says "you have mail", anyone has any idea of why? I am running OS X, but since it too is based on Unix and relies on files such as bashrc, bash_profile etc. I thought ...
7
votes
1answer
2k views

gdm greeter configuration: Exclude all *except* for one specific user

I have Googled this one and tried so many combinations, with no success. I need the GDM login greeter to display one and only one username. In effect, what I need is something like this in /etc/gdm/...
10
votes
3answers
30k views

How do I log out of all my active sessions?

For some reason, I have a few open sessions on an SSH server that I don't know about. I assume they're leftovers from when my pipe broke. $ users user1 user2 user3 me me me me Is there a way to log ...
5
votes
1answer
3k views

Linux Mint GUI stays black after login

Suddenly this happens: When I boot my noteback linux mint boots to the login screen. Then after I logged in the mouse cursor is visible centered on a black background. And thats where nothing more ...
1
vote
0answers
39 views

private key flash drive for server login

is there a way to make it so with my servers when I want to get into the console I can just plug in a flash drive with private keys on them that are trusted like the ones I have for ssh from my ...
1
vote
1answer
1k views

How do I remove login password for Centos6.5?

Question 1 On Centos 6.5, I have a username called admin. How can I make it so the system logs in automatically? Question 2 How can I configure system to login as root user when there are other ...
-1
votes
1answer
24 views

Debian Testing not booting fully (display manager not loading)

Every time I boot my (fresh) Debian install with gnome-core with a couple of the packages added that come with gnome. I installed Debian without a desktop environment which boots and reaches the login ...
0
votes
1answer
22 views

Shell Script to fix minimum password age not working but no errors

The goal of this script is to change the minimum password age in the /etc/login.defs file. My issue is that this script runs, I don't get any errors but when I vi to the file, nothing has changed. I'...
2
votes
2answers
11k views

What does “Cannot make/remove an entry for the specified session” mean?

Instead of logging me in, PAM greets me with the message "Cannot make/remove an entry for the specified session" after I enter the password. What entry is it talking about (and what session)? The ...
0
votes
2answers
79 views

Is there a way to perform a full login as another user without being root?

In our setup, we are forced to use Microsoft Active Directory (AD) for ssh access to our Linux VM, so that when employees leave they can be blocked from accessing the VM once their AD account is ...
2
votes
1answer
380 views

Debian login loop, can't login with correct password

I've updated my repositories on synabtics the upgraded firefox to newer version, when I open it it crashes, while this I was having my hard drive plugged .. so I tried to reboot to fix Firefox crash .....
0
votes
0answers
31 views

Login incorrect after installing nfs-utils

I am attempting to install nfs-utils (and thus all its dependencies) in a stateless RHEL6.5 KVM VM. The VM is configured to have a read-only root via the /etc/sysconfig/readonly-root file, Linux magic ...
2
votes
1answer
2k views

Switch user and elevate to root as a single action?

I have a system that is setup to require a password both to elevate to root, and to switch to the only user that can do so, so currently if I need to do something as root from another account I would ...
0
votes
0answers
21 views

What are the performance overheads between logging in to another user account via ssh vs login

In Gnu/linux systems, I can perform a full local login (i.e. where logname returns the same output as whoami) by two methods: login: sudo login second_user (prompted for password) ssh: ssh ...
301
votes
5answers
161k 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
2answers
116 views

Question about login logs using “sudo su - username”?

While doing my Linux training I found this curiosity: If I do "sudo su - username" and log into that username account, it doesn't count as login when I do "finger username" Take this image where "...
3
votes
1answer
40 views

Why does rbash not apply any restrictions for a login shell on Debian 9 (Stretch)?

I am on Debian 9 (Stretch). I have a deploy user where I've set the shell to /bin/rbash. Here is the line from /etc/passwd: deploy:x:9000:9000::/home/deploy:/bin/rbash If I am the root user, and I ...
0
votes
0answers
26 views

How can I reduce failed login delay in Arch Linux with KDE?

I tried some /etc/pam.d modification and succeeded in reducing tty login delay. But in lockscreen it always takes 2 seconds delay with failed login. How can I reduce this? There was a possible ...
465
votes
10answers
2.0m views

How to switch between users on one terminal?

I'd like to log in as a different user without logging out of the current one (on the same terminal). How do I do that?
0
votes
0answers
80 views

How to customize linux mint cinnamon 19 login screen

I would like to know if there is a way to customize the Linux mint login screen. And by customize I don't mean the background, but for example can I move the password input box to the middle instead ...
2
votes
1answer
18k views

How to recover missing serverauth so user can startx?

I've been using PCLinuxOS. All was OK until the Hard Drive had a bad block. After some fsck repair, from the shell, I tried to startx: xauth: file /home/joe/.serverauth.2052 does not exist. ...