Login, or logon, meaning to authenticate with a computer.

learn more… | top users | synonyms (1)

133
votes
4answers
4k 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 ...
89
votes
4answers
80k 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. ...
51
votes
3answers
20k 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 ...
50
votes
11answers
56k views

Linux: how to prevent a user from login in, but allow “su - user”

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 ...
37
votes
3answers
71k 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 ?
36
votes
9answers
39k 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 ...
34
votes
1answer
1k views

What's the meaning of logging in as “username@mydomain.com:something”

My Windows 2008 R2 machine is joined to a domain. In the logon screen, if I type in "username@mydomain.com:something" as the username, I can still logon properly, what's the meaning of ":something" ...
31
votes
10answers
9k 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 ...
31
votes
7answers
93k 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 ...
29
votes
4answers
36k views

run script as user who has nologin shell

All I need to do is to run a specific script as a particual 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. ...
23
votes
25answers
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
2answers
8k 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 ...
18
votes
14answers
2k 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 ...
18
votes
8answers
7k 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?
18
votes
2answers
3k 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: ...
17
votes
7answers
30k 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. ...
17
votes
8answers
43k 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? ...
16
votes
2answers
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 ...
16
votes
5answers
26k 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 ...
14
votes
7answers
55k 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 ...
13
votes
7answers
29k 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 ...
12
votes
2answers
9k 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 ...
12
votes
4answers
605 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 ...
12
votes
2answers
876 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 ...
11
votes
4answers
168k 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 cause I've recently copied the contents of an Ubuntu based live ISO (easypeasy, the ldistro for nwtbooks) onto a harddisk, but the ...
11
votes
5answers
56k 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 ...
10
votes
3answers
17k 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 ...
9
votes
2answers
10k 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 ...
9
votes
5answers
6k 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 ...
9
votes
3answers
6k 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 ...
8
votes
4answers
5k 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 ...
8
votes
4answers
4k 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
2answers
5k 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
4answers
735 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 ...
8
votes
5answers
6k 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 ...
8
votes
4answers
22k 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 ...
8
votes
1answer
4k views

Can I add user accounts to Windows Server 2012 based on Microsoft accounts?

Windows 8 lets me create user accounts simply by the email address of a Microsoft account (aka Windows Live account). Is there someway to activate such a facility in the Windows Server 2012 SKU?
8
votes
2answers
1k 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 ...
7
votes
6answers
7k views

lots of failed SSH login attempts - should I be concerned? [duplicate]

Possible Duplicate: Is it worth the effort to block failed login attempts Is it normal to get hundreds of break-in attempts per day? I'm managing a number of completely different root ...
7
votes
5answers
26k 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. ...
7
votes
1answer
3k 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 ...
7
votes
4answers
7k views

Measuring Windows 7 user login times

I Have been asked by a client to calculate average login times for machines and users. So far I have found that the event logs some boots that take longer than the thresholds set by the keys found at: ...
7
votes
1answer
2k 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 ...
7
votes
1answer
725 views

Is it possible to replace the Mac's Login Window?

I know that the login window on OS X can be customized -- you can change the background image, replace the Apple logo, add text and set the size, hide users, and set up login/logout hooks, and, ...
6
votes
4answers
1k views

Ubuntu linux takes longer time for incorrect passwords

When I log into my Ubuntu 8.10 box with a correct password the system figures out almost instantaneously that the password is correct and logs me in. However, if I supply an incorrect password, it ...
6
votes
1answer
568 views

PermitRootLogin is no, I cannot login but why password is asked from user?

I have disabled PermitRootLogin and I cannot login to server by root, but password is asked from user: Is this correct? Or there is something here that I'm missing? Why password is asked when it ...
6
votes
3answers
372 views

Remote Desktop on the same network

I have a main server set up and staff that use laptops to come into the office and work. We have currently moved everything over onto a server setup in the office that the staff can all remote desktop ...
6
votes
3answers
7k 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 ...
6
votes
8answers
8k 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 ...
6
votes
2answers
4k views

How to log every login (SSH) on FreeBSD

I want to log every SSH login attempts, both successful and not, to my FreeBSD server to a file, and daily mail this log to root. I could accomplish something like this by parsing /var/log/auth.log, ...