Questions tagged [user-management]

Questions about managing the UNIX users, groups and permissions.

Notable questions

347 questions
194
votes
3 answers

How do I list the members of a group?

How can I see all the members of a group in Linux?
fratrik
  • 2,725
79
votes
9 answers

How can I change my own user ID?

There is only one user on my system. How can I change its user ID from the default of 1000? If there are additional steps that would be required in order to avoid breaking the login process on a typical desktop installation, those should be included…
ændrük
  • 76,794
54
votes
11 answers

Why can I create Users with the same UID?

My understanding of UIDs is that is a unique positive integer assigned by a Unix-like operating system to each user. Each user is identified to the system by its UID, and user names are generally used only as an interface for humans. How can two…
nux
  • 38,017
  • 35
  • 118
  • 131
19
votes
4 answers

What are the default passwords of these users: nobody, daemon, uucp, etc.?

What are the default passwords of these users? root daemon bin sys sync games man lp mail news uucp nobody Can anyone log in through ssh or ftp as these users?
dr.praveenss
  • 193
  • 1
  • 1
  • 6
17
votes
5 answers

I forgot my username, how do I get it back?

When I installed the latest update of Ubuntu, I was asked for the username but I do not remember what my username is. How do I find out what my username is?
15
votes
3 answers

How to know whether am the administrator of my Ubuntu?

Is there a way to know whether am the administrator of my Ubuntu 14.04 ? If not, how can I became the administrator ?
TomJ
  • 566
  • 2
  • 8
  • 20
15
votes
3 answers

How to change primary group

I want to remove user pserver from the group apache. #deluser pserver apache /usr/sbin/deluser: You may not remove the user from their primary group. Now I want to add a new primary group, so I ran the following; #usermod -G pserver pserver Which…
OrangeTux
  • 5,195
  • 8
  • 36
  • 57
12
votes
1 answer

How can I restrict users of computers to 2 hours only?

I work in a library and I want to restrict users of computers to 2 hours only. Then lock them out and allow another user to use the computer. I am using Ubuntu and would like to know if there is a free software I could use to do this.
ODONGO
  • 123
10
votes
1 answer

What does it mean when `ls` shows a numeric user id?

I'm fairly new to the ubuntu system. We have an Ubuntu server where we host our WordPress sites, and I have seen a lot of 1002 users when I do the ls -lh command inside a directory, like: -rw-rw-r-- 1 1002 www-data 3.0K May 7 2014 wp-login.php What…
rolzan
  • 103
8
votes
3 answers

Separate system users and service users

We all know that we have system users and service users. I am looking for a way to separate them as system users and service user list. Is there any way ?
Raja G
  • 102,391
  • 106
  • 255
  • 328
6
votes
3 answers

How to lock yourself out of the primary account temporarily?

I'm looking for something like LeechBlock, or StayFocusd on steroids, i.e. something that could block my Internet access temporarily, but do it in a way that would be a major hassle to disable, unlike these browser plug-ins (A "major hassle" is…
5
votes
3 answers

Why my newly created account is asking for a pasword if I didn't set one?

I tried to create a new user account from 'User Accounts' in the System Settings. First I pressed the Unlock button and the + button. Then I chose Standard account type and filled account name. Then I pressed Add button and the account is shown…
TomJ
  • 566
  • 2
  • 8
  • 20
5
votes
2 answers

Can users passwords be cracked from etc/shadow file?

My question is if someone hacked privileges on /etc/shadow file , can he crack the passwords of the system users. If yes , how can i secure more my passwords and how to make it difficult on a cracker to easily crack my users passwords . Any…
nux
  • 38,017
  • 35
  • 118
  • 131
5
votes
2 answers

How to give different groups different permissions on a specific folder?

I have two groups "Group1" and "Group2" I have also folder "Folder" I want to give Group1 read and write permission , while Group2 only read . Any suggestion ?
nux
  • 38,017
  • 35
  • 118
  • 131
4
votes
2 answers

Adding an existing user to another group

I am having this strange problem. I am using usermod to add an existing user to another group. I want to create a new user and add an old user to this new user's group. To do this, I am doing the following things Create a new user, -m creates the…
Sachin
  • 171
1
2 3