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
20 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
35 views

Re-login command? [on hold]

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
36 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 ...
-6
votes
0answers
33 views

Shell Script Login System [closed]

I want to log in using the MySQL system with the username and password in the script. I want to login with username and password by connecting Script Mysql. I want to make the login system using the ...
3
votes
0answers
20 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 ...
3
votes
5answers
302 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
33 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
36 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
45 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
73 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
36 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 ...
2
votes
1answer
65 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 ...
5
votes
2answers
190 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
52 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
54 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
46 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
1answer
57 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
18 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
4 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
36 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
28 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
50 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
45 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
48 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
13 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
26 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
81 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
24 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
29 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
945 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
34 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
66 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
75 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
95 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 ...
1
vote
2answers
61 views

Check whether root-access is allowed without ssh-key

I want to check via BASH if root access on a certain server is possible without a ssh-key. So the script should check if you have access without SSH key or not. Here is my attempt: (pseudocode) /usr/...
0
votes
1answer
60 views

How to create a single Authentication point with multiple LDAP servers?

I'm currently into a process of creating a central service system from where users can connect to VMs. My goal with this is to have a single point of authentication for all possible users. The issue ...
0
votes
1answer
177 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 /...
0
votes
0answers
44 views

Login Window is blank after booting

My Linux Mint 18 is not displaying my Login Window after booting. Screen is just black. I can only login to system from Ctrl+Alt+F1 console and with startx. After that everything is as usual. Recently ...
1
vote
0answers
145 views

ubuntu 18.04 - too long to show login

it takes on average 2 minutes showing the splash screen before the login widget is made visible. blame did not show anything suspicious (this is after removing splash and quiet optiona off in grub): ...
-1
votes
1answer
74 views

How can I display a message from ~/.profile?

I want to display a warning message when a test in my ~/.profile (actually, in another file that I source in ~/.profile) fails, e.g.: if [ -f /usr/bin/vim ]; then ...
0
votes
2answers
93 views

Replace login shell with program (mini-jail)

is there a better way, preferably without an extra software-stack, to lock specific ssh users into a program without access to a working shell? Imagine a cli program which should be the only interface ...
0
votes
2answers
71 views

Automatically logged in user runs broken script at login, advice on how to regain access to pc?

The automatically logged in user is the guest-session and the login script is run through /etc/guest-session/auto.sh. It produces no error message, just stalls on a black screen. It is Linux Mint ...
-1
votes
1answer
58 views

Cannot log in because of corrupted .bash_profile [duplicate]

I have created a new user account. I can't access it because of a .bash_profile error. How can I repair this type of error?
0
votes
1answer
174 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 ...
3
votes
2answers
124 views

How to shut down Fedora without logging in

I have Fedora 27, and when I go away, the login screen is shown. Then I return to shut down the PC, but is not allowed to shutdown the PC from the login screen. I need to log in and then shut down. ...
0
votes
0answers
80 views

How to configure which characters are allowed in CentOS usernames

In systems such as Debian, there is a file /etc/adduser.conf which includes directive NAME_REGEX that can be used to define which characters are allowed in a username. Is there a way to do this in ...
0
votes
0answers
34 views

CentOS XFCE stuck at splash screen

When I log a user on a CentOS workstation with XFCE, the machine get stuck on the splash screen. It just never disappear. Even if I set the Slash screen settings to None. Those users are part of an ...
0
votes
1answer
1k views

Kali linux goes to grey screen after log on, fresh install

I know this has been asked, but I believe my case is different. I've had windows 10 and ubuntu 16 dual booted on my laptop, and I just installed kali for a class, making triple boot. It will prompt me ...