Questions tagged [uid]

UID is the abbreviation for "User IDentification number". It identifies each user on a local system and is used for all kinds of authentication, e.g. file system permissions. The range is from 0 (root user) to 65535. Normal users get UIDs starting from 1000. The UIDs below are used by hidden and system users.

Filter by
Sorted by
Tagged with
2
votes
1answer
34 views

Why is `gitlab user` listed in the list of users at login?

Recently I got the ownership of a computer which has Ubuntu 18.04.3 LTS installed and runs an ssh server on it. On the local machine, I see that the login screen has a gitlab user apart from my ...
0
votes
0answers
12 views

How to secure ldap client systems?

I've set up a LAN with an ldap server and multiple ldap clients running Debian (on the server) and Ubuntu (on each client). How can I stop an eventual attacker who can gain access to the ldap server, ...
0
votes
0answers
773 views

Created slice User Slice of GDM, starting manager for UID122

got my first question here. The following is the problem. When I start up my laptop, I sometimes cant start it up. Other times, it starts up, but the screen goes instead of my normal 1920x1080, ...
3
votes
1answer
1k views

Why is my GID environment variable empty?

I try echo $GID but get nothing. However, I can get 1000 by using id -g, what's the differences between them ? id -u => 1000 id -g => 1000 echo $UID => 1000 echo $GID => The ...
0
votes
0answers
65 views

Why docker is not setting proper UID?

In my docker environment with AlpineLinux I can not set proper UID for using user. In my Dockerfile I'm setting RUN usermod -u 1000 www-data RUN groupmod -g 1000 www-data despite it, when I'm ...
0
votes
1answer
36 views

wrong owners on ext4 drive after new installation

I have installed linux from scratch on a machine that has previously linux running. On my additional "data" drive (only data, no system files) with ext4 filesystem, the file owners / groups are not ...
1
vote
1answer
750 views

Ubuntu 18.04 Freezing on boot

I have a Lenovo T60 and everytime I try to boot 18.04 it gets to "Starting user manager for UID 121" on the boot screen it freezes then the mouse arrow comes up. This is massive bug exclusive to 18.04....
2
votes
1answer
3k views

what do the parameters uid and gid with /etc/fstab do?

I'm mounting directories. I wrote the needed lines to /etc/fstab.I'm using cifs protocoll. I wonder what the parameters uid and gid do, since they're similar for any user. (So this can't be any user ...
6
votes
2answers
30k views

How to get the list of all users who can access a server via ssh?

How can I get the list of all the users who can ssh to a server via ssh username@server.domain ? Please note that I'm aware of this question and that is not doing what I want! If it helps the server ...
3
votes
1answer
812 views

When I create two users with the same UID and GUID but different home directories, my 17.10 Ubuntu fails to boot, why?

I want to be able to log in with different settings but still be the same "user". So, I added a 2nd user with the same UID/GUID but different home directory and now when booting Ubuntu the system just ...
0
votes
3answers
2k views

Sudo ownership changed, can't use sudo to fix it [duplicate]

I am using Ubuntu 17.04. By mistake, I have changed the ownership of sudo. So now I can't make any changes as the chown command I could use to fix it needs sudo. If I use sudo I get sudo: /usr/...
0
votes
1answer
268 views

Ubuntu 14.04: What happen there is a user with UID = 0 but it is not root?

If I create a non-root user and I change it UID = 0. The system also have root user. Does it mean that the system is going to give root permission to this user? If not, are there any security problems ...
2
votes
1answer
1k views

SUID not working?

On Ubuntu 16.04.1: test.sh script: #!/bin/bash IAM=$(whoami) ID=$(id -u $IAM) echo "${IAM}" echo "${ID}" Andromeda $ ls -al | grep test.sh -rwsrwxrwx 1 pkaramol pkaramol 71 Δεκ 8 07:52 ...
3
votes
3answers
1k views

AccountService and UID < 1000

currently I'm using Ubuntu 16.04 and have set my User UID to 501 (interop with Mac). However even after setting login.defs: UID_MIN 500 UID_MAX 60000 # System ...
1
vote
1answer
948 views

Accidentally created another root user. How to delete or change permissions?

I need a non-root user to do certain (safe) things. I didn't pay attention, and used useradd -ou 0 -g 0 new_user_name, which gave root permissions to the user. It also has the same UID of 0. Before ...
3
votes
1answer
3k views

cannot access crontab after changing uid

I recently changed the uid of my linux account (the reason for this change lies in the need to have a precise uid to access files on a mounted drive). Since then, I cannot access my crontab. After ...
1
vote
1answer
769 views

Set or determine the UID range for guest accounts

For a special purpose it seems like I need to know the UID (user ID) of my guest accounts. As guest accounts are created and (usually) removed automatically whenever one is needed, the UIDs are not ...