Questions tagged [user-accounts]

A user account is an access authorization to a restricted IT system. It consists mostly of a system wide unique user name an a password which are needed for authentication. IT systems use the user account to identify the individual user and grant him permissions which are associated with the user account.

Filter by
Sorted by
Tagged with
127 votes
3 answers
142k views

How can I rename a 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?
Szymon Jeż's user avatar
  • 3,437
64 votes
7 answers
346k views

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

Right now I use a powershell script to see the currently logged in users. But I don't see if their session is idle, active or inactive. I can see when the session was started, that's it. Is there an ...
RayofCommand's user avatar
  • 1,451
64 votes
5 answers
554k 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 ...
Zlatko's user avatar
  • 1,021
63 votes
7 answers
54k 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 ...
Mei's user avatar
  • 4,590
63 votes
4 answers
283k views

Any difference between DOMAIN\username and [email protected]?

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 ...
Josh Kelley's user avatar
62 votes
5 answers
46k 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?
lindelof's user avatar
  • 929
61 votes
4 answers
162k 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 ...
Ed Haber's user avatar
  • 765
41 votes
6 answers
34k 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?
Ronaldo Nascimento's user avatar
40 votes
5 answers
112k views

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

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 ...
Agvorth's user avatar
  • 2,459
25 votes
3 answers
39k 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 ...
casper's user avatar
  • 519
21 votes
3 answers
71k views

Trying to add a new SQL Server user throws the error "is not a valid login or you do not have permission”

I am trying to add a new user to an SQL Server 2012 database using SQL Server Management Studio. I right-click and select 'Add User' under Security -> Users, fill out the user information, and click ...
culix's user avatar
  • 581
20 votes
11 answers
159k 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 ...
Hawkeye's user avatar
  • 2,709
19 votes
3 answers
67k views

What does the 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 ...
Patrick's user avatar
  • 1,280
18 votes
3 answers
35k 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 "...
user avatar
17 votes
4 answers
9k 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 ...
Swartz's user avatar
  • 304
16 votes
2 answers
8k 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 ...
14 votes
4 answers
110k 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, ...
wfaulk's user avatar
  • 6,938
14 votes
1 answer
3k 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 ...
Patrick's user avatar
  • 1,280
13 votes
2 answers
23k 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 ...
Geordan's user avatar
  • 141
12 votes
4 answers
32k 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.
heisenberg's user avatar
12 votes
3 answers
19k 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 ...
Ivan Drinchev's user avatar
11 votes
5 answers
15k views

Why am I getting unauthorized errors with Powershell get-winevent?

I'm a domain admin equivalent, I've tried running in an elevated console (right-click> run as administrator), and I'm consistently getting errors when executing get-winevent -logname application | ...
user209162's user avatar
10 votes
5 answers
66k 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 ...
MDMoore313's user avatar
  • 5,581
10 votes
1 answer
2k 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 ...
Bigbio2002's user avatar
  • 2,833
9 votes
5 answers
7k 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?
Charkel's user avatar
  • 193
9 votes
7 answers
13k 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 ...
matthewsteele's user avatar
9 votes
3 answers
7k 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, ...
Bite code's user avatar
  • 399
9 votes
3 answers
36k views

Can a Windows Active Directory user have aliases?

I've just created a simple AD on our Windows 2008 r2 server. I've added a few employees into that directory. Now, is it possible to create some aliases for a single account. eg. name = foo.bar@...
Pure.Krome's user avatar
  • 6,578
9 votes
2 answers
19k views

How to enable ssh access without public/private keys?

I am building a progressive cyber challenge for my club members (the challenges work), but what I was trying to do to make the progressive part is have each challenge reveal the password for the next ...
AJ Henley's user avatar
  • 103
9 votes
2 answers
4k 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 ...
veljkoz's user avatar
  • 157
9 votes
1 answer
20k views

Unable to delete a user from a Linux CentOS 6.3 machine, what can be done?

When I try deleting my user (from a root shell) it says userdel: cannot remove entry 'itaig' from /etc/passwd The user isn't even displayed on /etc/passwd. [root@ab2c1 ~]# su - itaig su: warning: ...
Itai Ganot's user avatar
  • 10.7k
8 votes
4 answers
33k 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 ...
Jim's user avatar
  • 335
8 votes
2 answers
12k views

How to switch user given a UID?

I only know the UID of a user, is it possible to switch user using UID in linux distribution like we do using username like su -u someuser?
Vishrant's user avatar
  • 243
8 votes
3 answers
97k views

show all users on a Catalyst Cisco switch

I am new to Cisco, I am having some difficulty: I'd like to list all user accounts. show users only displays currently logged in users. I have no problem changing the enable password, but I'd like ...
TryTryAgain's user avatar
  • 1,152
8 votes
3 answers
78k views

username and password for rsync in script

I'm creating a cron job to keep two dirs in sync. I'm using rsync. I'm running an rsync daemon. I read the manual and it says: RSYNC_PASSWORD Setting RSYNC_PASSWORD to the required ...
d-_-b's user avatar
  • 1,124
8 votes
1 answer
18k 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 ...
J.Zil's user avatar
  • 1,123
8 votes
1 answer
5k 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?
Andrew Arnott's user avatar
7 votes
2 answers
16k views

How to modify a user association in Slurm?

I want to move a user in Slurm job scheduling system ,from its current group to other group. But there is errors when I try the obvious: sacctmgr modify user where name=example set account=groupb ...
Zhen's user avatar
  • 2,159
7 votes
1 answer
434 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 ...
deed02392's user avatar
  • 278
7 votes
1 answer
8k 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 ...
Naftuli Kay's user avatar
  • 1,728
7 votes
2 answers
24k 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 ...
Aaron Copley's user avatar
  • 12.6k
6 votes
2 answers
7k views

Using at sign (@) in usernames linux. Is it safe? [duplicate]

I've read about what charachers should usernames use, in linux, here: https://serverfault.com/a/578264/330936 but I would like to know if is there any problem if I will use the at sign "@" in my ...
MM PP's user avatar
  • 269
6 votes
8 answers
85k 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 ...
josecortesp's user avatar
6 votes
2 answers
3k views

Support staff can reset some User passwords but not all?

In our environment we have two AD-accounts per person, one user level account and one admin level account. Our support-staff can only reset user level accounts, which is good but I can't figure out ...
Salve's user avatar
  • 85
6 votes
1 answer
608 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 ...
leeand00's user avatar
  • 4,909
6 votes
1 answer
6k views

Why would an interdomain trust account not require a password?

I am trying to understand why and interdomain trust account would have an account value of 2080 (INTERDOMAIN_TRUST_ACCOUNT – PASSWD_NOTREQD). During a routine audit, after we had recently set up a ...
David Broaddus's user avatar
6 votes
1 answer
4k 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 ...
Bart Silverstrim's user avatar
6 votes
1 answer
10k views

SSH login with no authentication [closed]

I have an account (root, if it makes a difference) set up without a password (passwd -d), which enables me to log in with no authentication through the console. SSH however insists on a password. How ...
Joó Ádám's user avatar
6 votes
2 answers
57k views

User principal name vs SAM account name

I am confused between the user principal name (UPN) and SAM account name (SAM). Heres what i know SAM- Pre-windows name, for backward compatibility with Windows NT machines etc. DOMAIN/USERA, looks ...
Abhilash Mamidela's user avatar
6 votes
2 answers
3k views

Account management tools supporting self-service registration and email verification? [closed]

I work in a university environment that has in the past offered services almost exclusively to university affiliates who already have "formal" accounts in central user database. We are increasingly ...
larsks's user avatar
  • 44.1k

1
2 3 4 5
11