Questions tagged [login]
Login, or logon, meaning to authenticate with a computer.
950
questions
193
votes
6
answers
209k
views
how to disable SSH login with password for some users?
On Linux (Debian Squeeze) I would like to disable SSH login using password to some users (selected group or all users except root). But I do not want to disable login using certificate for them.
edit:...
144
votes
4
answers
6k
views
Is my password compromised because I forgot to hit Enter after ssh username?
I've just tried logging into a Fedora (release 13 Goddard) server using SSH (PuTTY, Windows). For some reason the Enter after typing my username didn't go through and I typed in my password and hit ...
121
votes
12
answers
146k
views
How can I automatically change directory on ssh login?
I'm trying to get ssh to automatically change to a particular directory when I log in. I tried to get that behaviour working using the following directives in ~/.ssh/config:
Host example.net
...
114
votes
8
answers
167k
views
How to run command as user who has /usr/sbin/nologin as Shell?
All I need to do is to run a specific script as a particular user who does have the nologin/false shell indicated in /etc/passwd.
I would run the script as root and this should run as another user.
...
108
votes
21
answers
165k
views
Login without running bash_profile or bashrc
So let's say one typoed something in their .bashrc that prevents him (or her) from logging in via ssh (i.e. the ssh login exits because of the error in the file). Is there any way that person could ...
102
votes
11
answers
113k
views
How to prevent a user from login in, but allow "su - user" in Linux?
How do you allow a user to log in using "su - user" but prevent the user from login in using SSH?
I tried to set the shell to /bin/false but the when I try to su it doesn't work.
Are there several ...
98
votes
8
answers
290k
views
How can I edit the welcome message when ssh start?
I have a VPS for my website hosting. It is running a Ubuntu server. Every time I logged in my server by ssh, it displays a lengthy welcome message in my terminal.
Linux node61.buyvm.net 2.6.18-...
96
votes
3
answers
247k
views
How do I extract login history?
I need to know the login history for specific user (i.e. login and logout time),
How do I extract this history for a specific date range in Linux ?
74
votes
3
answers
49k
views
What is the difference between /sbin/nologin and /bin/false?
I have often heard it recommended that a user account should be disabled by setting its shell to /bin/false. But, on my existing Linux systems, I see that a great number of existing accounts (all of ...
65
votes
2
answers
68k
views
Executing a command as a nologin user
I've recently set up my server so that my suPHP 'virtual' users can't be logged into by using this article
My issue now is that before when I ran a rake command for my Ruby on Rails application ...
61
votes
9
answers
203k
views
Tool to test a user account and password (test login)
Yeah, I can fire up a VM or remote into something and try the password...I know...but is there a tool or script that will simulate a login just enough to confirm or deny that the password is correct?
...
40
votes
7
answers
88k
views
How do I disable root login in Ubuntu?
a while ago I gave root a password so I could log in as root and get some stuff done. Now I want to disable root login to tighten security, since I'm going to be exposing my serve to the internet. I'...
36
votes
5
answers
390k
views
What's the default username and password for an Ubuntu Live CD?
What's the username and password for an Ubuntu Live CD image?
I ask because I've recently copied the contents of an Ubuntu based live ISO (easypeasy, the ldistro for nwtbooks) onto a hard disk drive, ...
35
votes
2
answers
41k
views
Is there a specific name for the ".\" (dot-slash) shorthand used to log onto a Windows machine?
I guess the title just about says it all. And yes, .\, not that obsolete \. thing.
For those who don't know, .\ is a shorthand way of saying "this computer"*see "footnote" in Windows at a logon ...
35
votes
1
answer
1k
views
What's the meaning of logging in as "[email protected]:something"
My Windows 2008 R2 machine is joined to a domain.
In the logon screen, if I type in "[email protected]:something" as the username, I can still logon properly, what's the meaning of ":something" ...
33
votes
10
answers
13k
views
Why su to root instead of logging in as root?
I've heard often that it is better to su to root rather than log in directly as the root user (and of course people also say that it's even better to use sudo). I've never really understood why one ...
29
votes
6
answers
107k
views
Log MySQL login attempts
From time to time there are failed login attempts in our MySQL production server (MySQL dashboard alerts us). Is there a way to log every single success and failed login to the MySQL server without ...
25
votes
15
answers
210k
views
Linux closing connection after successful login
I am working on a server with Debian 5.2.2. Barely having any administrative knowledge with Linux, I think I screwed something up. I used apt-get update and apt-get upgrade to get everything up to ...
25
votes
4
answers
34k
views
In SQL Server, how do I create a login for an existing user?
I restored a database from one SQL Server instance on to a different SQL Server instance. The database allready has users added to it. But they don't have Login's for the new SQL Server instance.
I ...
24
votes
9
answers
19k
views
Should we disable the root user?
Should we remove the root password, disable remote login and basically require adminstrators to use sudo to perform administrative actions?
24
votes
2
answers
8k
views
nologin in /etc/shells is dangerous.. WHY?
I found this on the internet, while putting up a FTP server in FreeBSD.
Putting nologin into /etc/shells potentially creates a back door by
which those accounts can be used with FTP.
(see: http:...
24
votes
2
answers
27k
views
How to find who was logged in before beginning of wtmp
I'm trying to determine who was recently logged into a specific machine in my office. So I used last, but wtmp begins yesterday (Monday) around 14:30. I was hoping to find info stretching back to ...
23
votes
24
answers
2k
views
Is Open ID better than the usual LogIn system? [closed]
We are developing a web system and considering using the Open Id feature. Do you think it is any better than the usual way of loggin users in? If we use the Open Id feature that means the users will ...
23
votes
7
answers
190k
views
How to configure vsftpd to allow root logins?
I'm on SLES 10.1, and trying to configure vsftpd to allow root logins. Does anyone know how to do this?
So far, I have this:
local_enable=YES
chroot_local_user=NO
userlist_enable=YES
userlist_deny=...
21
votes
4
answers
143k
views
lastLogon vs. lastLogonTimestamp in Active Directory
An employee left the company. I try to find out when his AD account was logged in for the last time - if it was before the dismissal or after.
There are these 2 attributes in user properties window: ...
20
votes
6
answers
46k
views
Is this server hacked or just login attempts ? See log
Can someone tell what does this mean? I tried a command like lastb to see last user logins and I see some strange logins from China (server is EU, I am in EU). I was wondering if these could be login ...
20
votes
5
answers
37k
views
Windows Server 2008 R2 RDP login paste password
Is there any utility out there that allows me to paste the password in my clipboard to Windows Server 2008 R2 RDP login screen as if I'm typing the characters directly from the keyboard?
I login a lot ...
18
votes
14
answers
7k
views
Reasons for missing IP info in `last` output on pts logins?
I have five CentOS 6 linux systems at work, and encountered a rather strange issue that only seems to happen with my userid across all the linux systems I have... This is an example of the problem ...
16
votes
2
answers
2k
views
In the output of `last`, what does suffix ".d" after an IP address mean?
In order to find out who was logged in recently on my server I am using the command:
There were logins from very strange IP addresses e.g.:
username@pc:/home/user$ last
username pts/16 59.224....
15
votes
2
answers
4k
views
What do the OS X authorization mechanisms actually do?
Background
I'm trying to glean a better understanding of the OS X login process, in order to decide the best way for achieving VPN Single Sign On.
Please do correct me if I'm wrong, but I believe ...
14
votes
4
answers
28k
views
Why won't automatic login through ssh with authorized_keys work?
I have created a private/public dsa-keypair. I've put the public key on the server in
~/.ssh/authorized_keys
Everything is set up like my other server, but it seems like the server is just ignoring ...
14
votes
3
answers
10k
views
How to configure the login message in Ubuntu?
Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this:
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-...
14
votes
2
answers
12k
views
Up-to-date alternatives of rssh or scponly [closed]
I need:
An scp and sftp server
With chroot-ed environment
With non-login (ssh not allowed for scp/sftp users)
Options and related issues I found:
scponly
No updates since more than 6 years
Does ...
13
votes
8
answers
75k
views
Can't login to SQL Server in Single User mode
I've been trying all sorts of different combinations of startup flags to SQL Server 2008 R2 Express and I can not get past this error:
Login failed for user 'LOCALSERVER\Administrator'. Reason: ...
13
votes
7
answers
44k
views
Auto-login in Windows Server 2008
Does anyone know a (verified) method to cause a specific user to auto-login after a system reboot, that works on Server 2008?
I've tried tweaking some registry values (I don't have the link right now)...
12
votes
5
answers
47k
views
Debugging sssd login: pam_sss [...] System error
How does one properly debug the shell login in the following case?
Authentication is handled via sssd configuration and a krb5 authentication server. Logging in with the same .conf-file on Ubuntu 16....
12
votes
4
answers
3k
views
How to lock out normal (non-admin) users during software installs?
We have a lot of thin clients running Windows Embedded Standard 7 and an SCCM 2012 R2 server to manage them. The thin clients have their write filters enabled (FBWF) so machine changes are not ...
11
votes
1
answer
5k
views
Stress login-area with Siege
I need testing the performance of the reserved area of my website. I want use Siege for this goal.
For accessing to reserved area you must be logged to my site.
How can I send with Siege a Login-...
11
votes
5
answers
68k
views
Failing to connect to server via SSH - "Server refused to allocate pty"
I have a STRATO V-PowerServer running with Ubuntu 10.10 for my stuff but lately have problems connection to the server via ssh.
Basically all I have is ssh-access to the server and if necessary I can ...
10
votes
7
answers
19k
views
Send email when anyone logs on
My CentOS/RHEL system may have been hacked, I'm not sure. But I'm playing it safe by creating a new slice from scratch.
I've installed tripwire, but I'd also like to be emailed when anyone logs in. I ...
10
votes
5
answers
18k
views
Automatically log in once Windows 2003 server starts
I have a non-daemon server app that my Windows 2003 server needs to run all the time. The problem is, every time the server restarts, be it electricity or windows update, someone needs to press Ctrl+...
10
votes
3
answers
17k
views
Override LDAP shell
I have a LDAP server and a predefined shell (bash) set in it. But there are some machine on which I want a different shell to be used whenever user login to that instead of the shell stored in LDAP.
...
10
votes
1
answer
8k
views
ssh: id_rsa doesn't work, but if I rename it, it works
I have this id_rsa in my ~/.ssh folder. But it just doesn't authenticate. If I copy it and rename it to anything not id_rsa, it works.
[qfan@mycomputer .ssh]$ ls -al id_rsa id_rsa_good
-rw------- 1 ...
9
votes
5
answers
29k
views
Disable usage of console-kit-daemon in Ubuntu
I administrate several Ubuntu 9.04 servers, and everytime I log in, I get the Landscape utility printout with server stats, etc. I really don't need this and it slows down my logins considerably. ...
9
votes
9
answers
19k
views
Log out graphical user from command line
Just curious mostly.
Say I have someone logged into their Mac in the normal way -- ie. a graphical logon -- and the system becomes mostly unresponsive and I need to log them out.
I can reboot the ...
9
votes
2
answers
2k
views
Precached Windows Logins?
I know if a Windows users logs into a machine, and later that machine falls off the network, that the user can log in to the machine with cached credentials. Is there any way to precache those ...
9
votes
2
answers
30k
views
Diagnosing slow active directory logins
I'm having a hard time diagnosing intermittent slow logins on domain PCs.
A bit of information about the network that has this problem:
My domain spans 5 sites, all with VPN connections.
DCs are a ...
8
votes
4
answers
5k
views
Speeding up Group Policy, and how will implementing Group Policy Preferences impact logon time?
I'm looking for some advice on speeding up and upgrading our logon system to make it more robust and faster.
I inherited an older logon system, which was migrated over from Novell Netware originally. ...
8
votes
2
answers
13k
views
Ubuntu login page: where to specify users list shown
Using Ubuntu 10.04.1 Desktop (Latest)
After the boot process, GDM shows the graphical login screen along with a list of users that can log in. Clicking a name will ask for its password.
I would like ...
8
votes
4
answers
1k
views
Remote Root Login
I know one of the first things you do to secure a server is disallowing remote root login.
Passwords are pretty weak; what do people think of only allowing root login via ssh keys or other password-...