Questions tagged [login]

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

Filter by
Sorted by
Tagged with
176
votes
5answers
179k 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:...
34
votes
2answers
29k 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 ...
100
votes
7answers
124k 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. ...
83
votes
19answers
115k 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 ...
71
votes
3answers
43k 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 ...
33
votes
10answers
12k 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 ...
23
votes
13answers
160k 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 ...
22
votes
8answers
15k 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?
8
votes
4answers
886 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-...
9
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 ...
5
votes
2answers
3k views

Is it possible for a Scheduled Task to perform a graphical (interactive) logon or use a script to do the same?

I'd like to have a Scheduled Task (or a script of some sort) perform an automated interactive logon at a given time on Windows Server 2003. The reason is in this question I've asked a short while ...
5
votes
1answer
6k views

How to hide a trusted domain in the logon screen?

I need to create a bidirectional trust between two Active Directory domains. But management is worried that users will be puzzled out when seeing another domain name in the drop-down list in the ...
3
votes
3answers
631 views

Logins with only HTTP - are they as insecure as I'm thinking?

Recently I was thinking about how websites like gmail and amazon use HTTPS during the login process when accessing your account. This makes sense, obviously, since you're typing in your account ...
3
votes
5answers
19k views

Can't login using ssh as root

I am trying to virtualize an old linux server, and the PtoV software requires a password login as root via ssh. However, the root login is being prevented with a "Permission Denied" error on the ...
1
vote
4answers
7k views

Last Logon Time of All Users - RDP server not on a domain

I am attempting to get a list of "last logon time" of "all users" on Windows Server 2012, but currently only know of how to list a single user login, which is: net user username | findstr /B /C:"Last ...
1
vote
1answer
3k views

Change list of allowed logon computers from batch file

How can I change this setting from a batch file? For any given user, how can I make it so they can only log onto the computer named abc? A vbs or powershell script would be my second choice.
1
vote
1answer
367 views

Which Windows remote connections bypass LSA? What is the definition of a login vs. logon session?

Having been downvoted 4 times for answering in Has windows XP support multiple remote login session (RDP) at a time? that Windows XP supports multiple remote login sessions (the question did not ...
0
votes
2answers
8k views

How to update domain password cache over vpn

I have a machine that connects to a domain over a VPN, however it hasn't connected for months and has an old domain password (that I have forgotten) cached on it and won't let me log in to the box ...
-2
votes
1answer
998 views

Replace Windows logon ui (gina) with a win32 application [closed]

Is this possible to replace windows xp logon ui (i mean gina) with a win32 application? I don't talk a about writing a dll and replace it with windows original gina dll, I mean a proper interactive ...
73
votes
6answers
211k 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-...
101
votes
11answers
114k 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 ...
32
votes
7answers
74k 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'...
49
votes
2answers
50k 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 ...
13
votes
7answers
40k 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)...
7
votes
6answers
19k 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 servers ...
7
votes
1answer
10k views

Login user picture on domain

How can I change the "user picture" for each indivudal user that is displayed during the logon for Windows Vista, 7, 2008, 2008R2 machines throughout a domain?
18
votes
4answers
24k 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 ...
1
vote
2answers
5k views

How does one determine active SSH and SAMBA connection counts?

I have a server that I use infrequently, so I'd like to cron a job to shutdown daily if no users are logged in via SSH and SAMBA shares. How can I determine how many active SSH connections there are, ...
22
votes
2answers
6k 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:...
16
votes
5answers
28k 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 ...
10
votes
2answers
67k 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: ...
9
votes
5answers
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. ...
6
votes
7answers
22k views

Should I use a login banner and if so, what should it say?

Are interactive login banners worth having? The general consensus is that they are, but what should the banner say? Some things that are being considered (no particular order): ownership of the ...
2
votes
2answers
3k views

How do you implement a warning banner in Fedora?

Related to this question, how do I go about implementing said warning banner on a gnome based Fedora 11 or Fedora 12 installation? I only care about the graphical login. I used the NSA guide to ...
2
votes
2answers
6k views

See what time a user logged into a windows box

From a Windows XP command line, how do I get the time I logged into and/or out of the current machine? I'm looking for something like the UNIX last command which lists active and previous login ...
5
votes
1answer
6k views

MySQL command appends '@localhost' to username

I just can't seem to figure this one out. I want to use the command line to connect to a MySQL database residing on another server. I went ahead and created the username and password for the user. ...
4
votes
4answers
2k views

Ubuntu Login Screen Resolution is Off

I have Ubuntu 9.04 installed in VMWare 6.52. When I login to the machine, the login screen has a strange resolution problem. Here's an example screen shot of the issue: (ugh, cant get image shack ...
4
votes
2answers
5k views

One AD user Multiple Logins

I have a department of 20 users or so, which basically work in shifts but access the same desktop and settings, I am thinking to join these computers (15 computers) to AD and create only ONE account ...
3
votes
5answers
5k views

How to log commands/logins in linux?

I'm feeling that some people are using the root, how i can log all commands and connections times including ips made to the server (ssh) from all users? history command is not enough
3
votes
12answers
50k views

Cannot Login as root

At my work we ship our product on pre-installed servers as a software/hardware package. We are using open SUSE 10.3 for the OS and we setup and we always log in with the root user to do maintenance ...
3
votes
3answers
4k views

Windows Sharepoint Services Login Problem

I am wanting to try out Windows Sharepoint Services on my Windows 2008 Box at home. The Windows 2008 Server is a domain controller. I have installed IIS 7, Active Directory, SQL 2008 Standard and ...
3
votes
2answers
4k views

Can I “allow logon locally” for ALL local accounts and some domain accounts?

I have used a "Allow logon locally" GPO on a few machines to restrict who can use them. It is annoying that I have to create/link a separate GPO for each set of machines/users (Where is item-level ...
3
votes
4answers
1k views

Custom handling of domain user profile creation

I want to hook into the domain user login system and handle my own local profile creation. I have two basic related questions: How do I intercept the domain user authentication? Can I handle the ...
3
votes
1answer
6k views

ESXi 6.7: Suddenly unable to login

I am currently setting up a new Server with ESXi 6.7 standalone (DELL PowerEdge R620, not part of a vSphere Cluster). This is day two for me working on the Server and for the third time I am suddenly ...
1
vote
2answers
675 views

WinXP administrator password recovery

I need to login in as an administrator to my Dell Lattitude E6500 running WinXP Pro. Any ideas? Of course I don't know the password.
1
vote
2answers
1k views

Configuring Windows Server 2003 to start the administrator account even with no session?

I need the administrator account on a 2003 machine to start without a password, or even a session. That is, once the machine is powered on, it should boot into the administrator account and run ...
1
vote
4answers
4k views

Windows Security Dialog not showing when logging on to my server through remote desktop

I can't seem to figure out how to enable the Windows Security Dialog when logging on to my server. It works for another server we have: I know it was somewhere in the settings, but right now it ...
1
vote
4answers
8k views

Black screen when connecting via RDP to a Win 2003 server

Recently (eg. in the last week or two), when I RDP to one of our servers running Windows Serve 2003 64bit, the login screen is black. If you can guess what it is prompting, then you can still login, ...
0
votes
1answer
8k views

IIS 7.5, on Windows 7, IIS User can't log in, “Cannot read configuration file due to insufficient permissions”

I am "experimenting" with Microsoft Internet Information Services 7.5, on a Windows 7 OS, as an FTP site. I have created a FTP-site, called "Opta-site", and, enabled "Anonymous Authentication", "...
0
votes
2answers
933 views

MS licensing of multiple RDP sessions for non-MS products in Windows XP Pro [closed]

Question 1) and 2) were moved into separate thread Which Windows remote connections bypass LSA? What is the definition of a login vs. logon session? 3) Do I understand correctly that multiple remote ...