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
283 views

How can I change the login page background to dark?

So I'm using Parrot Security OS (Mate based UI), and I accidentally change the theme, but while I switch it back, the login page's background (the small box where you chose user and enter password) ...
1
vote
2answers
372 views

Silence 'Last login' on login shell

Simple question. I see the following when I open a new terminal window (iTerm): Last login: Fri Mar 2 16:52:40 on ttys009 I am working on some desktop automation (terminal shortcuts n such) and ...
5
votes
2answers
987 views

make a 2nd root?

I was thinking, maybe I'd like to disable passwords for the root user and only use keys to log in. If I need to log in without keys, I’d have a 2nd user that is like root in every way, except it has a ...
0
votes
1answer
131 views

What bad thing do “sort” and “uniq” do to the authorized_keys file?

I tried something that seemed to me like it should have worked. I had a bunch of public ssh keys I wanted to import, so I did this. cat public_ssh_keys .ssh/authorized_keys | sort | uniq > AK mv ...
0
votes
2answers
128 views

Deleted password under Solaris 11

I have a very serious problem. I deleted my password with passwd -d user, and now I can't log in to my account. I thought this would be a way to enter my account without entering the password by ...
2
votes
2answers
2k views

Why can't `su` be used to switch to users with empty password?

Create a new account called test: $ sudo useradd test test doesn't have a password right now. So $ su test doesn't work. If you try, you're asked for test's password. It doesn't have one. That's ...
10
votes
1answer
2k views

Is there a Bash file that will be always sourced in interactive mode no matter if it is login or non-login?

As far as I know, the interactive shells may be login or not login, and the start up files for them are different. If interactive + login shell → /etc/profile then the first readable of ~/....
1
vote
2answers
498 views

What are the pro's and con's in using the “-l” in a script shebang

I recently came up to an easy fix for a crontab logging issue and I am wondering what are the pro's and con's of using this specific fix (running a script with a "login shell flag"), as: #!/bin/bash -...
4
votes
1answer
597 views

How do I change (permanently) default shell after login on specific TTYn in Linux?

I know that the chsh command is used to switch login shell for a user between installed shells, but it works regardless of where login comes from (tty1, tty2, ssh, ...). What I'd like to achieve is to ...
0
votes
1answer
71 views

Removed current shell caused stuck at loading screen

I've got a problem with my Linux PC, it is running Bodhi Linux which is based on Ubuntu, so here's what I think provoked the problem: A few days ago I installed zsh and made it my default shell but ...
1
vote
2answers
40 views

How do i run a script whenever i switch to a certain user?

i've put the script i want to run in ~/.bash_login, but that doesn't work when i just switch to the user from another user. Is there another such file ? something else?
0
votes
1answer
168 views

Linux terminal is not recognizing login information

I recently got a big problem with my Linux Mint 18.2 Sonya: after an apt get update and restart, the interface isn't able to properly open anymore. Everytime I enter in one of the accounts, the ...
0
votes
1answer
179 views

libnss-pgsql2 - getent group fails

i have set up pam and nss on a linux server (ubuntu 16.04) to get users and groups from a remote postgresql database. Login on the server is fine, but groups can not be loaded out of the database. If ...
2
votes
3answers
4k views

xsession error: cannot log in after changing environment variable

I tried setting a new environment variable (I use linux mint 17). After restarting, I couldn't log back in. It says: Your Session only lasted less thant 10 Seconds. If you have not logged out ...
0
votes
1answer
2k views

Can't login on Debian with correct password [closed]

I cannot login anymore on my computer running Debian stretch. After I enter the password the login screen disappears and it looks like it's going to login but it eventually goes back to the login ...
3
votes
1answer
484 views

Logging in using voice commands with GDM

Is there a program capable of doing such thing? Something that would wait for me to either supply a username and a password, or select my username and a voice command that does the same thing.
1
vote
1answer
177 views

Is there way to require ctrl + alt + del at login screen?

Same way a Windows computer can have a secure login screen that requires ctrl alt del to get through. Does Linux have a way to configure this for itself? Is there anything equivalent?
2
votes
1answer
745 views

Is there any limit to the number of SSH login attempts?

Is there any limit to the number of SSH login attempts in Debian 9? For example, assuming that my SSH server can respond within 100 ms, then theoretically somebody could try one user/pw combination ...
0
votes
0answers
658 views

No users can log in

Running Arch Linux (KDE). I performed an uneventful update today using pacman -Syu. No errors were encountered. Upon rebooting the system no user can log in. In sddm every user is greeted with "Login ...
1
vote
1answer
81 views

GNOME3/GDM first login fails but second login succeeds

When my system boots up, and I click my username, and enter my password, the login attempt fails. However, when I try the exact same password again, I can successfully log in. What could have caused ...
1
vote
0answers
763 views

Automatic Login with cURL without php

I'm working in a little project using a script to do scraping. I'm trying login in https://www.plusdede.com/login, it's a simple login with a numeric captcha. The code which is important is: <div ...
0
votes
2answers
675 views

Can't login to debian GUI

I recently installed Debian 9.0 stable with KDE in my notebook that already had an Ubuntu and windows 10 installations. My intent was to create a new partition to debian's root and use the same /home/...
1
vote
0answers
175 views

Root login doesn't work with Synaptic and Apper

I have an odd problem. I have tried to use Synaptic so I can install a package. The system asks for the root password but won't accept it. I can start a terminal window and start su with the root ...
1
vote
1answer
2k views

/etc/profile.d/ script: Interactive authentication required

I have a service that I want to stop when a user logs in the a workstation. I've tried putting a bash script in /etc/profile.d/, and it runs when a user logs in, however, an error message pops up ...
1
vote
0answers
727 views

Change `lxlock` login screen in Debian Stretch LXDE

After having trouble with my python I had to reinstall my LXDE with apt-get install task-lxde-desktop All my settings remained working except one I don't know if it depends on the reinstallation or ...
0
votes
1answer
55 views

Sign on with a single key rather than username / password? [closed]

I find username / password combinations to be cumbersome. Is there a way to sign on to unix-based systems using a single passphrase like "iamMe%3"? Obviously there would have to be some specialized ...
0
votes
1answer
654 views

Script to remote login into server

I am using Ubuntu bash. I want to remote login to server through shell, it will give me its own command line. Then enter 'shell' followed by login credential again followed by a command. I need that ...
2
votes
2answers
231 views

How to have backup pam module

I am currently getting to understand PAM. Right now I use OTP and password, but I want to be able to use either OTP and password and if that fails then use my YubiKey and password. I am on Arch and my ...
1
vote
0answers
582 views

What Can I Do To Setup a Root Login In Debian 9?

I have been using Debian steadily since Sarge. In each version I have been able to login as root, with GUI, to do my administrative needs. I NEVER use root for day to day use. I want to be able to ...
2
votes
0answers
57 views

Stopping a systemd service when a user logs in to the GUI

Is it possible to stop a systemd service when a user logs in to a GUI? I'm guessing it would require some sort of custom target, or perhaps use logind? If so, then how can I do this? If that's too ...
1
vote
2answers
392 views

Apparently contradicting login vs. non-login shell upon ssh

I am running RHEL6 (kernel 2.6.32-573.el6.x86_64). I have aliases which are sourced upon sshing into myserver. One of these is alias scl-devtoolset-3='source /usr/local/bin/scls/devtoolset-3' It is ...
1
vote
0answers
214 views

Trace sequence of scripts/commands executed upon ssh

I am executing ssh myuser@myserver. Is there any way to trace all actions performed and the names of files being sourced? (similarly as with bash -x) PS: I executed bash -x at the command prompt ...
0
votes
0answers
331 views

Resize loginScreen (Background) or adjust Resolution of LightDM, CentOS 7

I'm using LightDM, but When I'm starting CentOS 7, the LightDM only take part of Screen, like low resolution. Unfortunately I can't take a Screnshoot. How to adjust LightDM take all Size Screen?
1
vote
1answer
193 views

Debian : how to set login behaviour (ask passsword)

I tried to use my fingerprint reader on my laptop yesterday, installing fprintd ; it didn't work. I then removed all those packackages. I then realized Gnome (or non graphical session) doesn't ask ...
1
vote
3answers
1k views

How to change autologin from root to non-root user?

I have installed Ubuntu server 16.04(Actually it's 3.4.113-sun8i ) with Openbox. and put this command startx inside /etc/rc.local to have graphics after boot. but the problem is that it automatically ...
0
votes
2answers
553 views

I get a blank screen

My laptop is displaying a blank screen today, instead of the normal login window. I am using LUbuntu 14.04. I can get into the terminal and login, but how do I start lxde after that and how do I get ...
0
votes
2answers
3k views

How to connect to the server using the private key I was provided in SSH

I've only worked with private keys when I was the one setting up for both servers. However, this time, I was given private keys to be used as password to login to the server from my local. Anyone can ...
-1
votes
1answer
508 views

Login through command line in Debian Stretch

Aslam O Alikum, Dear friends, I am Jawad Mansoor and I used this name while installing Debian Stretch as User Name, later when it asked me for User ID I just gave it jawad so now when I whoami it ...
7
votes
3answers
25k views

How to limit the number of active logins per user?

How can I limit the number of active logins per user? I've seen this on various servers before, and I was wondering how I could set this up myself. Perhaps in those cases, this was accomplished by ...
0
votes
1answer
20 views

Automating Logging Into OS X After System Restart

Background I have a bunch of OS X Yosemite Mac Minis that are used as slaves by a Jenkins master machine to run Selenium tests using Google Chrome. These slave machines get restarted on a daily ...
1
vote
0answers
323 views

Black screen after upgrade to fedora 26

I upgraded my system from Fedora 25 to 26, and after upgrading it rebooted and I got a black screen with a mouse pointer in middle but no GUI to make a login. There is an error on booting which says ...
1
vote
0answers
2k views

Change Icon User Login Screen, and Background, CentOS 7

I have CentOS 7 and I want the Icon User on the Login Screen... I was trying in the System Settings -> Account Details, Click over Image But this method doesn't work... The Second Part, is changing ...
0
votes
1answer
107 views

User missing from login greeter, despite `SystemAccount=false` in /var/lib/AccountServices/users file

I seem to be ailed with a problem most people consider a solution: my user is hidden from the login greeter. I've been frustrated by the login system for quite a while, there doesn't seem to be clear ...
1
vote
0answers
243 views

zsh .zprofile / .zlogin not being sourced on gdm login? [duplicate]

I have noticed that ~/.zprofile and ~/.zlogin are only loaded (in my computer) when I use a login shell, but when I login with gdm, they are not run; ~/.profile is ran instead. Is this normal?
1
vote
0answers
380 views

login using touchscreen software keyboard on raspberry pi

I am trying to get a keyboard for the login screen but I am having some difficulties. I have tried editing /etc/lightdm/lightdm-gtk-greeter.conf as per the page here: Virtual Keyboard on Login Screen ...
1
vote
1answer
2k views

Kali 2017.2 Graphical login fails

When ever I enter my user and password the same window comes back again and again. It wants user and password back to back. I did ctrl+alt+f3 and got terminal. I did: apt-get update apt-get upgrade ...
0
votes
1answer
104 views

What is the step by step procedure to analyze automatic logout on a linux ( ubuntu) system

After I login using UI, I am logged out. Shall I start by looking on log files ? Which one. I have root authority on the system. Is putting a "pause" or "sleep" in a script file that gets executed ...
6
votes
5answers
21k views

Monitor all login attempts

Few weeks ago I thought it would be a good idea to write a script to send me an email whenever some user logs in into my server. So I came with a perfectly working script notifyLogin.sh, then I ...
1
vote
0answers
59 views

A special character is added to my input every second, messing up my commands and passwords [duplicate]

I've been looking for any case similar to mine and still haven't found one. The story: I'm using arch linux, updated just last week, and it was working fine. I never configured auto-login, so I have ...
2
votes
1answer
3k views

SSH Logins failing for all users, even when using correct password

So, I have a RHEL server that is ad joined. Users are not able to login, even when using the correct passwords. I can login through console, but only with root, none of the AD accounts will work. I ...