Skip to main content

Questions tagged [uid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Why does external server register uid instead of username of user-generated user?

I'm running a cluster in Ubuntu generated by AWS ParallelCluster. When I run the cluster as the default user "ubuntu" with uid:gid 1000:1000, the cluster calls to a license manager on a ...
coross24's user avatar
1 vote
1 answer
505 views

Mount of device not owned by requested user

Using Ubuntu 18.04. When logging into a tty terminal of a PC, the dmesg lines [ 83.966238] Mount of device (uid: 0) not owned by requested user (uid: 1000) [ 83.966795] Reading sb failed; rc = [-1]...
XavierStuvw's user avatar
0 votes
2 answers
958 views

How do I get string username/groupname from numeric uid/gid on remote host in an SFTP session?

I'm automating file transfer via SFTP and got stuck when changing file ownership in the remote host. The problem is that SFTP's chown and chgrp commands only accept numeric uids/gids, which are not ...
Emerson Prado's user avatar
2 votes
2 answers
2k views

UID is root but whoami says nobody

I'm participating in a capture-the-flag contest where I must implement some form of privilege escalation to read the flag.txt file. I've noticed that when I run whoami I get the following result: ...
user avatar
1 vote
1 answer
985 views

uid of process not in /etc/passwd

I'm building a toy system monitor for which I parse multiple files from /proc. Among other values I parse the uid for every process from /proc/$pid/status. Later I map the process' uid to the username ...
Picard's user avatar
  • 123
1 vote
1 answer
848 views

Migrate Windows UID to another installation

In Linux when I want to share user data and credentials, I only need to ensure that the same user shares the same POSIX UID and GID (typically starting from 1000) across two Linux installations on the ...
iBug's user avatar
  • 11.3k
1 vote
1 answer
575 views

Why can I access my home directory when booting from an external drive?

I run fedora 30 on my computer. As user foo, my home directory rights look like this: [foo@localhost]$ ls -l /home/ drwx------. 41 foo foo 4.0K Jul 12 11:23 foo drwx------. 2 root root 16K Jul 18 ...
neerby's user avatar
  • 13
0 votes
1 answer
523 views

bad uid 8 in virtual_uid_maps

Sending mail fails. Logs show this error: warning: recipient [email protected]: bad uid 8 in virtual_uid_maps Relevant settings in main.cf: local_recipient_maps = virtual_uid_maps = static:8 ...
Gooberpatrol66's user avatar
0 votes
1 answer
1k views

Uid and gid relation to file permissions

I'm confused about what effect the uid or gid has on the ability of a process to execute a file. I read the section I could find on them in APUE, but I must have missed the part where Stevens explains ...
dumbitdownjr's user avatar
1 vote
2 answers
2k views

Access Volume via UID in PowerShell

I do have a Server with plenty of volumes where some are mounted in different directories and others have drive letters. I´m looking for a way to run something like this in Powershell foreach ($...
toprock's user avatar
  • 75
0 votes
1 answer
485 views

changed root UID in ubuntu

I was tinkering with the /etc/passwd file when accidentaly changed the root UID and GID. When I enter into the recovery mode, I still have no superuser powers, as any user exists on the passwd file ...
L00P3R's user avatar
  • 3
0 votes
0 answers
1k views

how do I get the PID list and USERNAME of each of those PIDs in LINUX using python?

I am trying to get the PID's and their respective usernames for displaying something similar to the top command in linux. I managed to get the list of PIDs but I am unable to fetch any username for ...
Dee's user avatar
  • 1
1 vote
1 answer
2k views

How do I change UID of 0 from non-root user?

I have set the UID of user01 to be 0 when I created it. Now I am trying to delete the user and it complains "user01 is currently logged in". I check the process list, and that doesn't seem to be ...
James Velez's user avatar
0 votes
1 answer
2k views

root user uid got changed

I am using ubuntu server. My root account uid got changed to 0 to 1, i am not sure when and how. Becausse of this i cant execute any sudo commands on this server. This is what rroot account looks like ...
raj's user avatar
  • 1
0 votes
1 answer
4k views

Mac OS X: Change UID or permissions?

I keep the /Users directory on a separate hard drive, /Volumes/Media. I recently upgraded my main drive via a fresh install from Mavericks to Yosemite. I have two users (not including root): seamus (...
user avatar
5 votes
3 answers
8k views

Why on some systems max uid/gid is 65534 an not 65535?

I know that there is not a shared maximum value for uid (or gid): some systems use 99 (Slackware, ...), others 65534 (Debian, ...). I ask if there is a specific motivation to use 65534 and not 65535 (...
user2431763's user avatar
0 votes
0 answers
507 views

How do I keep the same UID among many servers?

I have many servers with LDAP which mantain the users UID the same among the servers, but how can I change and keep the same UID for local users ? For example, the user tomcat, when someone create an ...
Valter Silva's user avatar
  • 1,381
2 votes
2 answers
357 views

gksu is a front end to su?

gksu manual page says that it is a front-end to su, however su doesn't need a command to be executed, while gksu does. Also, gksu doesn't seem to change the user ID of my shell, while su does. Is it ...
KevinRGT's user avatar
  • 123
5 votes
3 answers
15k views

How to change user ID on a QNAP NAS?

I've got a QNAP TS-110 which I access via NFS from my Ubuntu system. I guess that NFS on a typical home network does not use any user authentication. I've read in various places and I found that it ...
seb's user avatar
  • 321
-1 votes
2 answers
941 views

cron uid:gui for every username

So in the nutshell : There was user John with 502:502. After i deleted John and recreated him, his UID:GID changed to 504:504. Cronjobs are still running under the John's crontab, but when the ...
Katafalkas's user avatar
0 votes
2 answers
902 views

How to find Mac OSX UID from Ubuntu

How do you view Mac OSX user id without having to boot into OSX? I can mount the drive, but I can't find the UID for my user, which would hopefully enable me to access files without being root.
weberc2's user avatar
  • 428
0 votes
1 answer
119 views

jsfiddle unique identifier generation [closed]

Consider jsfiddle.net: When you press "save" they generate uid for your jsfiddle like vzBZB. How do they do it? Why only 5 characters? And first of all - How do they make sure there's never a ...
DrStrangeLove's user avatar
1 vote
1 answer
2k views

No user list in the login screen after changing the user ID

Edit: Problem 1 has been resolved. I followed this link and changed my user id to 1000 (same as Linux user id), so that I can share files freely between Mac and Linux. Now I have these two problems: ...
Baha's user avatar
  • 677