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
1 answer
32 views

How do I set up a login shell with arguments?

I would like to add a user whose sole purpose is provide a "dashboard" for my machine (laptop), without letting them doing anything else (whether it's any useful is debatable, but it's ...
404 Name Not Found's user avatar
0 votes
2 answers
83 views

Can cURL get the Username and Password Fields From a Website?

I'm using cURL to login to several websites. Looking through the DOM manually to get the fields for the username and password fields is tedious for my case. I'll then parse the fields and use the curl ...
Nickotine's user avatar
  • 467
0 votes
0 answers
39 views

Ubuntu, I can't log in to the OS with password

I can't log in through the password via graphical login. I type password, click Enter but then a message is appeared "Failed to login with password". When I switch to terminal (Ctrl+Alt+F2) ...
Yauheniya's user avatar
0 votes
1 answer
27 views

alpine update motd on login

Is there any way to update the /etc/motd file on login? The /etc/profile and /etc/profile.d/*.sh scripts are executed after the motd is already displayed on login so these methods don't work. I want ...
EightBall's user avatar
1 vote
1 answer
41 views

Printing something specific to the user during login before password prompt

I would like to print something in the middle of a user login, related only to that user. In other words, this has to be after the user has typed in their username, but before they even start typing ...
Paul Grinberg's user avatar
0 votes
0 answers
46 views

Linux login issues/questions. Current command line ends with: "~$"

My kitty sat on the keyboard for my laptop and caused a weird issue on the monitor. I have been trying many things to fix the problem, and now I'm locked out.I am at the login screen and my username ...
Christine Koch's user avatar
1 vote
1 answer
64 views

How to display text for non-interactive login shell

What I need: I am trying to change /etc/bashrc in such a way that shell could display specific text when the following ssh command is entered ssh user@ip "whoami" But I don't understand ...
Judith5230's user avatar
0 votes
1 answer
22 views

disabling the direct login for super user (common super user account) and other users (not having the sudo access) need to switch as super user

We have a common superuser account ("cmn_usr") with sudo access, and separate normal user accounts ("nml_usr") without sudo access. Currently, normal users can directly log in as ...
Hariharasudhan C's user avatar
1 vote
1 answer
21 views

Lightdm multi screen arrangement

I run XFCE on Debian with two monitors next to eachother. The default positioning of the monitors is mixed up. I.e., when the mouse leaves the left edge of the physically left monitor it isn't blocked,...
8bc3 457f's user avatar
  • 123
0 votes
2 answers
48 views

How to clone CentOS 7.7 installation on another disk?

I thought I could clone a running CentOS 7.7 installation by replicating the contents of the /, /boot, /boot/efi partitions on the target disk and then modifying the /etc/fstab and the grub.cfg files ...
ORAY's user avatar
  • 1
0 votes
0 answers
42 views

Unable to login to root shell of Linux system built using Buildroot

I built Linux kernel and root file system using Buildroot(2022.08.x) for STM32MP157 target. SystemD is chosen as init system. The target boots and login prompt appear but I am unable to login to shell....
gmax's user avatar
  • 1
1 vote
1 answer
38 views

iTerm always asks for user login before loading user's shell

I'm using macOS on Sonoma, and for as long as I remember, iTerm2 prompts me to log in with user and password each time before it loads the shell. This is quite tedious, and it always takes a few ...
Kamil's user avatar
  • 11
0 votes
2 answers
380 views

Debian "Login Incorrect" for all users before entering password

I think I've got a dead system now, but I don't know how to recover. I was updating from Buster to Bookworm with the standard method outlined here - https://wiki.debian.org/DebianUpgrade After ...
Jademalo's user avatar
  • 111
1 vote
0 answers
58 views

Gnome error during login

At the time of login in Ubuntu 23.10 & gnome 45.1, I'm faced with this screen. after repeated attempts of logging-out & restarting, it finally lets me in. I tried to pull some logs using: >...
claws's user avatar
  • 113
0 votes
0 answers
36 views

Seamless login in EndeavorOS

I would like to achieve a smooth login process where there is no visible black screen during the transition from the login screen to my desktop, similar to the experience in Windows 10. Both Debian ...
vb0gizxw's user avatar
0 votes
0 answers
58 views

Keyboard, mouse and touchpad not working everytime booting the linux

Keyboard and mouse do not work after booting Linux. First, the keyboard is working when I turn on my laptop and enter the password for my sata. Then it will enter grub to choose the Os and the ...
Serella's user avatar
0 votes
1 answer
69 views

How to lock down Ubuntu linux so that only the active user can log in

I am new to linux and interested in only allow in login via direct access to the machine (active user). I don't even want to be able to log in remotely myself. Can someone please point me in the right ...
pac_2023's user avatar
0 votes
2 answers
65 views

Anyone know what these all these user sessions (see post) might be?

Any time I login to my laptop, including after freshly booting my laptop there are four user sessions already. Only the "who" command can see all four, the "w" command can only ...
natS's user avatar
  • 3
1 vote
1 answer
55 views

log out from slim, or slim restart results in blank screen for several minutes

I am using slim login manager. when I log out from my session, or restart slim from the commandline: service slim restart I get blank console for couple of minutes, before the slim login screen ...
Martin Vegter's user avatar
1 vote
0 answers
48 views

Shutdown after X failed login attempts

I have a laptop with Xubuntu 22.10, whose SSD is encrypted with LUKS, so if it's stolen when shut down, my data should be safe. But it's more likely to be stolen while it's switched on, and then only ...
Michael Marx's user avatar
0 votes
0 answers
31 views

SSH login: password works not until 3rd attempt (same password)

When trying to log into my vserver the password only works at the 3rd attempt! (Using the same & correct password from clipboard) Is the system breached?! Interestingly when using my password ...
xcy7e's user avatar
  • 159
0 votes
1 answer
66 views

I don't acquire supplemental groups at login

I have ssh access to a fresh installation of Ubuntu 22.04 on a cloud VM. My password entry is fish:x:1001:100::/home/fish:/bin/bash and /etc/group contains users:x:100: sudo:x:27:gsluser,fish When ...
seismofish's user avatar
12 votes
3 answers
4k views

What program in Linux computes the hash of the input password when you log in?

If I understand authentication mechanism correctly, when we input the credentials in the login prompt, the hash of the password is computed and then that hash is compared with the hash stored ...
JLC's user avatar
  • 137
1 vote
1 answer
126 views

Keyboard layout skipped during installation and changes don't persist in Linux Mint

I installed a fresh Linux Mint 21.2 64bit. During the installation, the menu to choose the keyboard layout was skipped, so I couldn't choose one. Now after the installation, when I try to login, the ...
DasMoorhuhn's user avatar
0 votes
0 answers
35 views

Very new to linux (fedora). Trying to streamline my login process for work

I'm extremely new to both Linux and writing any sort of code. I've been setting up my workstation on a Fedora OS. I'm trying to streamline my process as much as possible, but I've run into a couple ...
Aidan Bruce's user avatar
15 votes
1 answer
1k views

Running GNU screen through SSH, the shell is not a login shell?

I'm using screen (the problematically named terminal session manager) on a remote system accessed over SSH - to run long running processes and such. I have eventually started using a command to attach ...
Guss's user avatar
  • 12.6k
2 votes
1 answer
556 views

SSH Key issue - Fedora 38

I've a remote server with at least 2 users (root and myself). I've the same keys in .ssh/authorized_keys in both $HOME folder. I can connect with the root account, but from my account i've a "...
admstg's user avatar
  • 657
0 votes
0 answers
156 views

openSUSE Tumbleweed: facial recognition for login: howdy and PAM configuration issues

My laptop is an Acer Swift 3. It has a fingerprint sensor, but there’s no Linux driver for this one (last time I checked). So since I like Windows Hello, I decided to set up face recognition. I’m ...
Ul Tome's user avatar
  • 117
0 votes
1 answer
290 views

Weird flashing and flickering is showing. Can't even login in my kde debian 12

I booted my laptop for the first time today. Everything goes smooth but when it gets to the login screen it displays weird flickering. Cannot login. Cannot open tty. Is there anything I can do?
Venkatesh B's user avatar
0 votes
1 answer
2k views

Stuck at boot, no GUI, login on tty not possible after upgrade to Debian 12

I upgraded my system to Debian 12, but I cannot login any more after I rebooted when the package installation seemed to be completed. The login prompt (on tty) tells me login incorrect after typing ...
Nepumuk's user avatar
  • 667
0 votes
1 answer
70 views

auto login as guest without gdm3 with systemd ubuntu 18.04

I Installed Ubuntu 18.04 and removed gdm3 package. Now on startup I get LXDE GUI with my default admin user logged in (the one created after initial OS setup with sudo capabilities). I wish to create ...
hutcruchi's user avatar
  • 319
0 votes
0 answers
140 views

Fedora Incorrect Login when installing vm through qemu

I am trying to boot fedora vm on Linux Test Pc from qemu. It actually shows the temporary password for first login. But when I try that password it is saying Login is Incorrect. I don't know why the ...
PODILI CHAITANYA AKHIL KUMAR's user avatar
1 vote
1 answer
2k views

nohup: failed to run command 'source': No such file or directory error while runnşng nohup?

I am trying to keep running of a command after logout from ssh. I used the commands nohup source a.sh > a.txt and screen source a.sh > a.txt. But both gives nohup: failed to run command 'source':...
heyula's user avatar
  • 11
1 vote
2 answers
1k views

I am Unable to access to root user in oracle linux server

I was configuring Ansible on my server where I created an Ansible user on all servers and gave them sudo access so whenever I ssh to another server using an Ansible user it should not ask me for a ...
user21824488's user avatar
1 vote
1 answer
710 views

sddm won't let me login to Plasma

I have the problem where sddm won't let me login to my box, it just throws me back to the password entry screen. When I change to a shell with Ctrl-Alt-F2 and login, it tells me user change directory ...
mistyron's user avatar
1 vote
1 answer
378 views

/etc/passwd shows bash SHELL, but my terminal starts up in csh

I'm trying to determine what is setting the shell to csh when open a terminal and log in. From the information I've read, the default shell is set in /etc/passwd, and I see an entry in the /etc/passwd ...
user3731622's user avatar
1 vote
1 answer
42 views

Script in /etc/profile.d/ is not being run on X login (debian)

The following script: name='ILITEK ILITEK-TP' echo 'running touchscreens' | systemd-cat ids=$(xinput --list |awk -Fid= "/$name/"'{print $2+0}') echo 'after xinput' | systemd-cat for id in $...
Cheetaiean's user avatar
0 votes
0 answers
674 views

Linux reboots by itself after reaching login screen

After deleting Windows 11, I installed Nobara Linux, but my laptop reboots itself after 5 seconds in login screen. And it doesn't matter if I managed to enter password or move to tty, cause it reboots ...
Nikson_230's user avatar
14 votes
2 answers
3k views

Does ssh run commands (rather than shell itself) in a login shell?

According to man sshd: LOGIN PROCESS When a user successfully logs in, sshd does the following: <...> 9. Runs user's shell or command. All commands are run under ...
Anthony's user avatar
  • 627
0 votes
0 answers
195 views

Can't login to Unity Hub Flatpak

I am trying to login to Unity Hub but it is not working. When I open Unity hub I get the welcome page that prompts me to log in. When I click on the login button a web page is opened to log in (...
stucklucky's user avatar
1 vote
0 answers
37 views

Is there a way to start a service to create new user before the login prompt appears if there are not users using systemd?

I intend to create a new user before the getty login prompt appears (when there is not existing users) Basically, the adduser command can be triggered from a script that will be started before the ...
user568753's user avatar
1 vote
0 answers
205 views

Login directly through terminal to a new GNOME session passing user and password as input parameters

I would like to know if there is any possibility to login directly to a new GNOME session without the need to put the login and password using automation tools like pyautogui, xdotool, uinput... (I ...
user568513's user avatar
0 votes
3 answers
404 views

Why I can't log in with the correct password?

Apr 6 01:05:11 ASUS-tek systemd-logind[1108]: Failed to create inotify watch on /var/run/utmp, ignoring: No space left on device Apr 6 01:05:11 ASUS-tek systemd-logind[1108]: New session c2 of user ...
nightsec's user avatar
0 votes
2 answers
76 views

Get user's login duration time without time of locked screen

I'd like to get information about "utilization time" of users on linux sytems for specific days. This means the time, an user has an unlocked screen. In contrast the command ac displays the ...
Richard's user avatar
1 vote
1 answer
231 views

Failed to login to Linux shell with passwd generated by mkpasswd -m sha-256

I am working on an embedded Linux system, where busybox (1.31.1) is used as init. I enabled login in /etc/inittab but I failed to login to system with invalid password. The /etc/shadow in rootfs is ...
wangt13's user avatar
  • 397
1 vote
0 answers
83 views

Disable ASUS Vivobook S15 S532F ScreenPad on login page

I'm new in Linux world, i've just installed it on my Asus Vivobook S15 (i chose Linux Mint because of its simplicity, sometimes...). The problem is that my ScreenPad won't turn off on the login page, ...
Luigi's user avatar
  • 11
0 votes
1 answer
120 views

Login using arduino and RFID

I have been thinking about this for a while. How would I go about being able to log in using an Arduino and RFID card reader? Hardware: Arduino UNO, Card reader: RFID-RC522 OS: Arch Linux
Sixtenson's user avatar
1 vote
0 answers
432 views

Docker does not trigger login or invoke /etc/profiles?

Trying to deal with the problem of dircolors: no SHELL environment variable, and no shell type option given when I start my docker container. So from What sets the $SHELL environment variable? it can ...
xpt's user avatar
  • 1,488
0 votes
0 answers
65 views

Changing GID on login

I have a system for which SSS is configured to use LDAP. A user will appear on my system as, say # id abc uid=1234(abc) gid=1010(default) groups=20001(red),20002(blue) If I can determine through ...
loris's user avatar
  • 195
0 votes
2 answers
215 views

Tell Gnome 40 to start on the first workspace, rather than Activities

I have recently upgraded to Rocky Linux 9, a RHEL derivative, which uses Gnome 40 by default. When I log in I find myself in the Activities view. Is there a way to tell it to start on the fist ...
Nicola Musatti's user avatar

1
2 3 4 5
26