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

0
votes
1answer
21 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
32 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 ...
-1
votes
0answers
29 views

Kali Linux stuck after login screen (dual boot with windows10 & kali linux 2018.4) possible reasons? [duplicate]

After deciding to dual boot my acer aspire laptop which is running windows 10 with kali linux I faced the problem that my login screen in kali linux freezes after loging in. When I did the dual boot ...
0
votes
0answers
45 views

sudo is accepting everything as password except the correct password! [closed]

On my elementaryOS juno, I'd installed fingerprint-gui and fprint-demo to set fingerprint unlock to my laptop, but unfortunately I couldn't get it to work, so I removed both fprint-demo and ...
0
votes
0answers
23 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
93 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
44 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
32 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
34 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
53 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
27 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
16 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
23 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
0answers
14 views

How to modify /etc/pam.d/ in Mac to require password AND touch id at the same time in order to login account?

I would like to make a two-factor authentication to login my account that requires my password and a second authentication method like pam_tid.so or a FIDO U2F key. The logical expression would be: (...
0
votes
1answer
34 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
120 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
140 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
176 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
83 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 ...
4
votes
5answers
329 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
44 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
109 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
49 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
74 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
164 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 ...
3
votes
2answers
275 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
209 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
197 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
60 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
234 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
21 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
11 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 ...
0
votes
1answer
63 views

How to automate a source command

I have to run a command every morning after I log on to the server to enable certain company specific functionalities. The command looks like this: source /data/dev/int/default/somethingsomething.env ...
-3
votes
1answer
32 views

How to get users group and their last login and password status in gnu/linux or Unix

How can I get details in, Linux using bash script, of users group, their last login and password status? format username groups last-login password_status
1
vote
1answer
156 views

How to disable “Last failed login” message on Centos?

How can I disable the message below when a specific user logs into a Centos machine from console? Last failed login: Sun Jun 30 22:32:35 EST 2018 from 192.168.142.71 on ssh:notty There were 3 failed ...
1
vote
0answers
74 views

Why is root always logged in from ttyS0 (even after system reboot)? [closed]

I am continuously seeing root in the output of the w command on a virtual machine hosted on the cloud. I have restarted the machine several times and even tried sending CtrlAltDel from the OpenNebula ...
1
vote
3answers
62 views

How to tell what method was used to log in (Password vs. Keyfile) from the bashrc

Is there a way how you can check what auth method the user which just logged in to an account were using? I like to print out a warning after login if someone is using a password instead of a keyfile....
0
votes
0answers
16 views

Lightdm: Starting the Desktop Environment Depending on Which User Logged In

I'd like to set up a user account (lets call it userA) that, on login, instead of starting the desktop environment (Budgie), it goes to a TTY. Having the inverse behavior (starting at the TTY first ...
1
vote
0answers
51 views

Unable to login into Kupiki captive portal using the given username and password(Raspberry Pi 3 B+) [closed]

I tried to create a captive portal for my Raspberry Pi's Wifi hotspot using Kupiki-Hotspot-Script which is given in this link Kupiki-Hotspot-Script However I am unable to login using the given ...
1
vote
0answers
131 views

Xwayland crashes frequently

My system is running Ubuntu 18.04 LTS. I am facing this bug every time I turn on my pc and when my PC wakes up after sleep. Unfortunately, I found no solution when I searched on Launchpad and Bugzilla....
0
votes
0answers
31 views

Can not restrict domain users access to Ubuntu SFTP server

I have an Ubuntu SFTP server that has joined an AD domain using winbind and sssd. I'd like to restrict user access (Ideally to allow only a domain group to access but for now to only one user). I ...
1
vote
1answer
33 views

Is it possible to log into all 6 terminal sessions at once?

If I press Ctrl+Alt+F1 to switch to the 1st terminal session, I have to give my username and password to log in. If I press Ctrl+Alt+F2, I have to repeat this process. Same for F3, F4, F5, and F6. Is ...
6
votes
1answer
1k views

Confused between “echo command | ssh server” and “ssh server command”

During the course of my learning about the non-interactive login shell, I have come across 2 ways to remotely execute the commands via SSH. For me, they both look to be the same. But unfortunately, ...
0
votes
1answer
20 views

which software runs the login widget under Xfce4

I'm running Debian Buster with Xfce4 on two different systems, each with a long history going back 3 or 5 Debian releases. After booting into Linux, they show completely different screens with ...
2
votes
1answer
49 views

Last (failed) logins - or - why elevated permissions for btmp

Why do I need to have elevated permissions to access the last failed logins (/var/log/btmp) but not for the last successfull logins (/var/log/wtmp). (At least per default on debian/ubuntu linux - my ...
0
votes
0answers
28 views

Can't login into Fedora 11?

I am using Fedora 11 with VMware Workstation for Unix. I was performing grep command but as it doesn't display highlighted output so i found some commands and tried running them. Code is as below. ...
2
votes
1answer
93 views

sudo and su commands do not work, after executing sudo chsh -s /bin/zsh

So, I've been trying to install zsh. It didn't work properly, after terminal restart, so I decided to change the shell again by typing chsh -s /bin/zsh, once again, but accidentally preceded that with ...
2
votes
1answer
230 views

Does SSH ProxyJump require local shell access?

i have an account that can ssh to localhost alright: $ ssh root@localhost # logout Connection to localhost closed. it does not work with the JumpProxy feature of ssh however: $ ssh -J root@...
0
votes
0answers
175 views

Run script on non-interactive SSH session (SFTP)?

I have a Linux development server in Digital Ocean based on Ubuntu Xenial 16.04. I use this mostly for development. I created a script on /etc/profile.d/ to trigger an SMS message (based on Node.js ...