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
0answers
41 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
294 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
57 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
90 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
34 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
328 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
61 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 ...
54
votes
6answers
111k 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
81 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
47 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
1k 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
253 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
142 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
92 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
37 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
185 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
419 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
15k 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
90 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
185 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: ...
75
votes
8answers
68k views

Does /usr/sbin/nologin as a login shell serve a security purpose?

In my /etc/passwd file, I can see that the www-data user used by Apache, as well as all sorts of system users, have either /usr/sbin/nologin or /bin/false as their login shell. For example, here is a ...
16
votes
3answers
27k views

How to open Fedora without a user password?

How do I open Fedora 19 without a user password? My user name is mz2, and I want to login without a password.
1
vote
0answers
142 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
146 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, ...
11
votes
2answers
13k views

Set default nice value for a given user (limits.conf)

Could someone tell me how to set the default value of nice (as displayed by top) of a user? I have found that /etc/security/limits.conf is the place but if I put either: username_of_a_guy - nice ...
2
votes
1answer
936 views

How do you implement a login warning banner in Gnome 3?

This question documents how we used to inflict the mandatory login banners required on our Linux machines at work. Unfortunately, this procedure is no longer effective with Gnome 3 in Fedora 15, 16 or ...
0
votes
1answer
246 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
105 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) ...
-6
votes
1answer
100 views

Kali linux login [duplicate]

I got Kali Linux installed on my flash drive it stick in boot up at the log in. I've done the control,alt,f3 to try, and log in I can type username in, but when it asks for the password it won't even ...
1
vote
0answers
403 views

Not able to login in Linux Mint

have not logged out yourself, this could mean that there is some installation problem or that you may be out of disk space. Try logging in with one of the fail safe sessions to see if you can fix this ...
4
votes
1answer
168 views

Unable to login in fedora 16

I install the fedora 16 but I skipped to create at least one user account during installation. Now I am unable to log in to the Fedora graphical environment. How can I create log in account?
1
vote
1answer
1k views

Debian (Gnome): unable to login

I installed Gnome, and unable to login, as only root is set, and disabled, I think after reading on the Internet. Now how do i get back to the command line, at least so I can deal with that and fix ...
0
votes
1answer
33 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
2answers
1k views

Ubuntu Login for first time

I installed Ubuntu 10.04, but when I tried to login I found out that my keyboard is inactive. I searched the Internet and learned how to activate the on-screen keyboard. But, when I activate the on-...
-1
votes
2answers
4k views

Run command after login

I have Linux Mint 18. How can I run this command after login with main user (no root user): sudo echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null I have read so many steps to ...
1
vote
1answer
723 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.
4
votes
3answers
1k views

`$XAUTHORITY` appears from 'nowhere' on su+tmux

When I switched from su+bash to su+tmux+zsh I noticed that I get the $XAUTHORITY variable defined as /root/.xauthXXXXXX where XXXXXX are 6 random alphanumeric characters. With the previous ...
0
votes
2answers
264 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
123 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
3answers
2k views

Can dash replace bash as my default shell?

From what I read, dash can be made as a shell by using the command ~$ chsh shirish Password: Changing the login shell for shirish Enter the new value, or press ENTER for the default Login Shell ...
0
votes
1answer
873 views

Stuck at login loop while tty and recovery mode terminal works fine

I am having linux mint 18. I accidentally removed /bin/bash. So just after removing it I changed the default shell of the user from terminal (from /bin/bash to /bin/sh and /bin/sh links to dash) in /...
53
votes
2answers
33k views

Difference between .xinitrc, .xsession and .xsessionrc

I found three configuration files. .xinitrc .xsession .xsessionrc I know that the first one is for using startx and the second and third are used when using a display manager. But what is the ...
0
votes
1answer
9k views

KALI suddenly fails: Failed to start login service, booting impossible

The situation is as follows: I ran dist-upgrade I start my kali I choose the proper OS-entry in the grub-selection-list I enter my LUKS-encryption key The system boots The system-boot-process stops ...
1
vote
2answers
879 views

Can't log in to my Debian system via the GUI

I am suddenly not able to log into my Debian 8.5 system via the Desktop. I can still log in when I am in the TTY. I was using Gnome, now when I enter my password the page goes black shortly and then ...