Skip to main content

Questions tagged [uid]

4 votes
1 answer
452 views

today to my surprise I have noticed that I may delete a file that was created by a user with UID 100024 while being logged to my normal user (UID 1000) shell. The UID 100024 is a subuid, it is how the ...
Václav's user avatar
  • 153
1 vote
0 answers
334 views

I have a piece of equipment running a yocto build. This build includes services like ssh-server, mysql, and ntp, with each run as their own users. mysql is UID 999, sshd is UID 998, etc. In my ...
Dave's user avatar
  • 45
3 votes
0 answers
208 views

Why does global root (root in the initial user namespace) not have the ability to read all files regardless of permission when ID-mapped mounts (see "ID-mapped mounts" under man 2 ...
Joseph Sible-Reinstate Monica's user avatar
0 votes
2 answers
1k views

The ArchWiki - rsnapshot page mentions creating multiple users with uid and gid set to 0 as a means of creating users that login remotely to perform backups. One thing you can do to mitigate the ...
vfclists's user avatar
  • 7,919
1 vote
2 answers
540 views

I have a friend who works at a business where the IT guy has passed away and I am trying to help them until they can hire someone else. It is a workgroup networked with a Linux server. They recently ...
Michael Welch's user avatar
0 votes
2 answers
712 views

The info page of command id states that it will output the effective user ID if different from the real user ID. I have been trying to achieve that somehow, running the command with the Bash shell as ...
gambarimas87's user avatar
1 vote
0 answers
595 views

I expected uid=0(root) gid=0(root) groups=0(root) to be the output of both $ rootlesskit id $ unshare -U bash -c 'newuidmap $$ 0 '"$(id -u)"' 1; id' however the somewhat more verbose -x ...
humanityANDpeace's user avatar
0 votes
0 answers
450 views

In Root Explorer I have the option 9997-everybody and 9999-nobody. If I change the owner of any file to everybody:everybody, will it be fully editable by all users? This user does not exist on the ...
Mai Ngọc Vinh's user avatar
0 votes
1 answer
603 views

After reading https://unix.stackexchange.com/a/222376/246754 How rpm ensure that no uid/gid clash with each other ? What I am looking is similar to https://github.com/NixOS/nixpkgs/blob/...
Et7f3XIV's user avatar
  • 103
1 vote
1 answer
321 views

I am on Ubuntu 22.04. I noticed that the tty which runs the Ubuntu GUI periodically changes from tty2, to tty3, what is the reason for this? I also noticed other UID changes, for instance tty1 has ...
user avatar
0 votes
2 answers
175 views

I am struggling with a loop over users id, i want to list all the users in /etc/passwd whose id are greater than 999, it doesn't recognize my if .. fi sentence and it is important to say that I am ...
Sebastian Rojas's user avatar
-1 votes
1 answer
655 views

I am trying to look at the source code of the passwd and gpasswd programs. These tools check the effective UID set to zero to complete execution successfully. But I am a noob to C and couldn't find ...
Tomas 's user avatar
  • 141
11 votes
2 answers
4k views

Trying to learn about UIDs and GIDs. Various online reading led me to believe that my UID is saved in /etc/passwd, but this doesn't appear to be the case on a server where I work: $ whoami user1 $ cat ...
StoneThrow's user avatar
  • 1,957
1 vote
3 answers
1k views

Which command (available in distro repositories) should I use start a shell with specified numeric uid, gid and groups? Typically su is used to change from root to other user, but it tries to look up ...
Vi.'s user avatar
  • 6,005
0 votes
0 answers
1k views

At some point where I wanted to do sudo usermod -v 1000-1000 USER sudo usermod -w 1000-1000 USER I accidentally applied both these commands to root. According to the documentation I can undo these ...
alle_meije's user avatar

15 30 50 per page
1
2 3 4 5 6