The tag has no usage guidance.

learn more… | top users | synonyms

44
votes
7answers
14k views

Best Practices in Username Standards: Avoiding Problems

I'm interested in finding out what people's experiences with standard usernames is. I've always been in places that used {firstInitial}{lastname} (sometimes with a length-limit). Now I've users that ...
40
votes
5answers
20k views

What's the difference between 'useradd' and 'adduser'?

What's the difference between useradd and adduser? When/why should I prefer using one or the other?
32
votes
5answers
7k views

How do admins maintain user accounts across hundreds of linux servers?

Dealing with hundreds of RHEL servers, how can we maintain local root accounts and network user accounts? Is there an active directory type solution that manages these from a central location?
28
votes
7answers
41k views

How can I copy MySQL users table from one server to another?

I'm setting up up a new MySQL server and I'd like to give it the same set of usernames, allowed hosts, and passwords as an existing server (which is going away). Would it work to just do a dump of ...
22
votes
3answers
53k views

Any difference between DOMAIN\username and username@domain.local?

I'm trying to troubleshoot an obscure authentication error and need some background information. Is there any difference between how Windows (and programs like Outlook) process DOMAIN\username and ...
17
votes
3answers
14k views

What characters should I use or not use in usernames on Linux?

I want to create user accounts named after a domain name. adduser complains that the usernames need to match the NAME_REGEX regular expression. adduser: Please enter a username matching the regular ...
16
votes
3answers
103k views

How to delete domain user profile from a computer?

I'm wondering how to safely remove a domain user profile from a computer that is a part of a domain. I don't want to delete the account from the domain itself, I just need to remove the profile from ...
15
votes
3answers
4k views

Wget: Is there a way to pass username and password from a file?

Is there a way to pass the username and password from a file instead of the command line via --user and --password? Background: I want to run wget via cron and don't want the username/password show ...
13
votes
1answer
2k views

Domain Administrators account policy (After PCI audit)

One of our clients is a Tier 1 PCI company, and their auditors have made a suggestion with regards to us as System Administrators and our access rights. We administer their entirely Windows based ...
12
votes
10answers
57k views

Command line active directory query email address for username

On Windows XP in an Active directory environment - what is the easiest way for me to query a user's email address from AD given their username on the command line. (Assuming I know where it is kept ...
11
votes
4answers
1k views

Managing access to multiple linux system

A searched for answers but have found nothing on here... Long story short: a non-profit organization is in dire need of modernizing its infrastructure. First thing is to find an alternatives to ...
11
votes
1answer
31k views

What does Windows 7 local group Power Users actually do

A client wants a new bit of software. Typically they are on the cusp of signing a contract before they happen to mention it to IT in passing. A skim through the technical requirements show nothing ...
9
votes
2answers
7k views

Why limit maximum username length to 8 characters?

Throughout my humble career in IT I generally see username length limited (typically to 8 characters). This occurs on a variety of systems including Active Directory and database apps. Is there a ...
9
votes
2answers
10k views

Can you find out when a new user was created in Active Directory on Windows 2003 Server?

As the question title says, I am trying to find out when a user account was created in Active Directory. The operating system is Windows Server 2003.
9
votes
1answer
1k views

Can a user account that is disabled in Active Directory still receive email?

I'm reading Learning Exchange Server 2003 by Boswell, and there's a section in there that mentions that a disabled account in AD cannot receive email and that it will be bounced back. Currently, what ...
8
votes
5answers
2k views

When would you use the “password never expires” option?

I'm simply wondering when you should set a user account so that the password never expires. On what accounts is this a good idea?
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
2k views

When should I create a new user account to run software on a server?

In general, when should one create a new user account to run a piece of internet-facing software on a server? For instance, suppose I'm using a shared Debian server (e.g. via Dreamhost) and I want to ...
7
votes
3answers
8k views

How can I rename an unix user?

I have a user named hedgehog and I want him to be named squirrel, but I don't want to change his numeric user ID. How can I accomplish this?
7
votes
6answers
2k views

How can I automate clearing and resetting a Linux user's home directory to a default?

I'm helping to teach two Unix courses next week. Users will be granted an account on a RHEL 5 machine, during which time they'll add files to their /home folder, update their .bashrc and other ...
7
votes
2answers
36k views

What's the best way to see logged in users on Windows Server 2012?

Right now I use a powershell script to see the currently logged in users. But I don't see if there session is idle, active or inactive. I can see when the session was started but that's it. Is there a ...
7
votes
4answers
5k views

How to find the creation date of a local user account?

I would like to get the creation date of a local user account (Win 7 if it matters). I've looked at the following WMI objects (and google of course): Win32_UserAccount Win32_NetworkLoginProfile The ...
7
votes
2answers
303 views

NetworkService account access to a shared folder (WinSrv 2012R2)

We have services running under IIS with pool setup to run under NetworkService identity. If the service required access to a shared folder on a remote server, on previous versions of WinServer we just ...
6
votes
3answers
10k views

Adding an existing user to a group with puppet

Is it possible to add an existing user to a group with puppet 2.7.18? We have two modules, each one defines one class : module "user" creates all users, including user foo and user bar. module ...
6
votes
3answers
1k views

User name before sudo

I got a script requiring sudo, but the script must set parameters according to the original user, such as: chown "${USER}:${USER}" dir If I set it under sudo, I just end up with chmod root:root, ...
6
votes
1answer
554 views

Testing Windows user accounts without actually logging into them?

We setup Windows users accounts with redirected profiles here at work, and in the past we have just logged in to the account to test them out. However, recently there has been a change in company ...
6
votes
1answer
2k views

Active Directory: Changing a name

I have a user with a typo'd name. For the sake of explanation, I'll say the username is lusername, first name Lindsay. Active Directory had the user initially named Lindsey Username, and I need it to ...
6
votes
2answers
13k views

Account Lockout with pam_tally2 in RHEL6

I am using pam_tally2 to lockout accounts after 3 failed logins per policy, however, the connecting user does not receive the error indicating pam_tally2's action. (Via SSH.) I expect to see on the ...
6
votes
2answers
1k views

What can I do to fix missing start menu/desktop icons for a domain user?

I'm having a problem with one user account in my domain. The domain controller is Server 2008 R2, with Win7 clients. The user's password expired, so she went through the process of changing it. We ...
5
votes
4answers
7k views

How to add a user without knowing the encrypted form of the password?

I use the following command to create a user in a linux machine: useradd -d /home/dummy -g idiots -m -p 12345689 dummy The user is created and the home directory as well. The problem is that I ...
5
votes
2answers
25k views

How to find all ways in which a Unix user account is locked

I occasionally find myself in a situation where an undermaintained system has an account that's been locked out. The problem is that there are a variety of ways in which an account can be locked out, ...
5
votes
3answers
53k views

Using “Run as…” as limited user to modify network connection settings? [closed]

I'm running in a non-admin account on my development workstation, using "Run as..." for all things that need administrator privileges. Thankfully under XP even the control panel applets allow that. ...
5
votes
1answer
2k views

Does www-data user need a real shell?

Interestingly enough, on my Ubuntu derivative with nginx installed with apt, the www-data user has a shell: $ cat /etc/passwd www-data:x:33:33:www-data:/var/www:/bin/sh Shouldn't this be set to ...
5
votes
1answer
132 views

FreeBSD undo uppercase characters in username

I set up a FreeNAS box a while ago and against better judgement, used an uppercase character when creating my username. This has led to a directory called George. Now, when I later read that ...
5
votes
2answers
895 views

Delegating Control — Windows Active Directory

Attempting to make a site administrator user account for an Active Directory Domain. Using the Active Directory Delegate Authority Wizard. a user account has been grated rights in a OU. However, when ...
5
votes
1answer
882 views

How does Windows hide internal users?

I just recognized that Windows hides some special users, like for example the NT Authority\SYSTEM user or the users which are added after the installation of SQL Server (ReportServer$SQLEXPRESS, ...
4
votes
8answers
44k views

Windows Server 2008 R2: User account set to not show on login

This afternoon I set up a Win Server 2008 R2 system for use with Team Foundation source code control. In order to give my team-mates the right to connect, I had to create a user account for each ...
4
votes
2answers
4k views

How to secure Outlook Web Access against Brute Force attack?

I'd like to secure Outlook Web Access with Exchange 2010 against a brute force attack using account lockout. What is the best way to do this? I have the following group policy: Computer ...
4
votes
4answers
10k views

What do I need to be cautious of when changing a User Logon Name in Active Directory?

I'm new to my current employer, being their only Sysadmin. I'm seeing a small handful of users who have User Logon Names which don't conform to the naming convention standard which majority of users ...
4
votes
4answers
566 views

Transfer an account from a 'dead' domain

So - following from my previous question: How do I stop DFSR replication preventing a Domain Controller from advertising Domain Services?, I lost the FSMO DC, and my only other DC was in an ...
4
votes
5answers
712 views

Common user accounts between linux machines

I have a base system with a few (currently two) VMs on top of it, all running Ubuntu Server. I have to keep adding my user account on each system when I bring a new one up, as well as giving it sudo ...
4
votes
2answers
3k views

How to create linux account with useradd without creating mail spool

Summary Can I create a new user without creating mail spool and without modification of /etc/default/useradd ? Explaination I want to create a user that has a home directory and skeletion, but I ...
4
votes
2answers
13k views

User account being frequently locked out

We are running in a Windows 2008 / Windows 7 environment. One on my users is being locked out of his Active Directory account on a daily basis. This occurs between 10 and 18 hours after each reset. ...
4
votes
2answers
1k views

Scalable way to add users in Postfix without creating new unix/linux accounts?

What is the most scalable way to add new users in postfix? I don't necessarily want to create a new user in /etc/shadow just for email. I know I can use aliases but this does not solve the issue of ...
4
votes
2answers
1k views

Can I use Active Directory for user-level security in an Access application? Pretty Please?

My company makes fairly extensive use of an Access + MySQL application that would probably see some significant traffic on the Daily WTF if I posted the source code. The management of users and their ...
4
votes
1answer
4k views

Create restricted user on Debian server

I want to create a user account for each of the key programs installed on my debian server. For example, for the following programs: Tomcat Nginx Supervisor PostgreSQL This seems to be recommended ...
4
votes
1answer
4k views

How to make sendmail to relay local mails?

I have www server called say mywebsite.com and mail serwer mymail.com. Mail for mywebsite.com is handled by mymail.com (mx record for mywebsite.com is mymail.com). Problem is that I want to send mails ...
4
votes
4answers
742 views

User creation on Linux Redhat

Is there anyway one can determine when a user was created on Linux? I know of a couple of things one can do,but it's an unreliable way of doing it. The first option is checking when the home directory ...
4
votes
2answers
765 views

Force specific usernames for Mercurial commits

We're switching from Subversion to Mercurial in our corporate environment. There will be a central repository that is accessible via HTTPS with basic HTTP authentication. Now I'm curious whether it's ...
4
votes
1answer
1k views

How can I determine who (or what) has blocked access to a centos user account?

CentOS 5.x A user account on my CenTOS server has become inaccessible and I'm not sure why. If I run chage -l foo I see: Minimum: 0 Maximum: 0 Warning: 5 Inactive -1 Last Change: ...