Questions tagged [uid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

What is missing from sssd.conf so that linux UID isn't being copied into AD user's uid attribute?

SSSD 1.16.5, centos 7 For domain joined Linux systems, I have to manually set their uidNumber or uid AD attribute to their Linux UID so that users can write on world-writable NFS shares. uid/uidNumber ...
user avatar
0 votes
2 answers
74 views

Exchange mailbox UID confusion after deletion and re-creation with same alias

I created an exchange mailbox early 2019 and deleted it in december 2019 I think. Then I re-created AD and exchange account with same name and same email address in september 2020. Since, we have ...
user avatar
1 vote
1 answer
266 views

Linux: Converting from NIS to AD auth, how to associate old UID/GID to "new" users?

Background: Our org has used NIS for 20+ years for UNIX/Linux authentication, continuing thru the present time. Windows and Active Directory came on the scene in our org sometime around 16 years ago, ...
user avatar
1 vote
1 answer
69 views

Inverse Name Search by UID (CentOS 8) - Retrieves last created with same UID

I am working with CentOS 8 and I have a problem with UIDs and User Names. I have installed VestaCP to manage my websites. The user by the name of "user123" and UID 1007 is the owner of all the ...
user avatar
  • 61
2 votes
0 answers
4k views

SSSD with LDAP users not able to resolve their own uid/gid names and others

I have a machine setup to authenticate users with an LDAP directory using sssd+nss+pam. At the current state any user in the directory is able to login by ssh, or with su in between user accounts, ...
user avatar
6 votes
4 answers
4k views

How can I chown a file to a subuid without sudo

Basically, What is going on here and what am I not understanding? I have a set of subuids for my user. I want to chown a file to specific subuid which is part of this user's allocation ...
user avatar
-2 votes
1 answer
4k views

Customize Welcome Message when linux user's login by ssh

I want to print message when user login to linux using ssh like this message (welcome Mr john_097968) where john is username and 097968 is UID Number . so how can I do that using links terminal
user avatar
0 votes
0 answers
101 views

How to search for all files owned by a particular user in SAN

My question might be confused you but honestly that very straight forward. I have a SAN with many terabytes of data. All users have their own home directory or share directory on that (And most ...
user avatar
  • 51
6 votes
1 answer
19k views

NFS and all_squash confusions

For some temporary data migration task, I need to set up an NFS server. The UIDs on both machines do not match, so I somehow need to avoid permission issues. Luckily, I thought, there's an all_squash ...
user avatar
  • 201
0 votes
2 answers
2k views

getent password not returning LDAP users

I am following this tutorial https://mcwhirter.com.au/craige/blog/2005/Making-a-Debian-or-Ubuntu-Machine-an-LDAP-Authentication-Client/ but after the first step: apt-get install libpam-ldap libnss-...
user avatar
-1 votes
1 answer
32 views

Core processes are started to run under another user, not root

I have added a new user as abc, with UID 0 and GUID 0 (as same as root. I know, it was a bad idea) Now, when I connect to ssh via root, it's shown as abc@localhost, not root@localhost. Also, all core ...
user avatar
  • 9
1 vote
1 answer
1k views

Is there a way to set Ubuntu user ID at installation

The Ubuntu installation wizard includes a step to create a user with sudo rights. By default this user is assigned UID=1000 Is there a way to override this, in that wizard step? I know it's ...
user avatar
  • 2,640
-3 votes
1 answer
435 views

Simple non-interactive tool for switching user [closed]

I need a tool that would be run by root, drop root by switching to another user, and then execute another program specified by the command line argument(s). Use case: run something from a (custom) ...
user avatar
  • 103
1 vote
1 answer
1k views

samba4 unix user and group id mappings

I've got a samba4 on an ubuntu server (samba 4.1.17). The linux system users are available from samba dc via sssd (ldap module) and are working ok. I can login via ssh, create and access directories ...
user avatar
  • 3,692
0 votes
1 answer
932 views

Can/should PHP-FPM and Apache be run under the same user/uid and/or group/gid?

I decided to reinstall my box's PHP and Apache today to give FPM a go, never used it before and wanted to do some performance tests as I've heard it is a lot faster. Right after compiling and ...
user avatar
  • 260
5 votes
2 answers
94k views

How to list uid of all the users of LDAP?

I get list of all the users of LDAP using the following command ldapsearch -x -LLL uid=* > result. The result of the following command results in following format dn: uid=shahrukh,ou=People,dc=...
user avatar
5 votes
2 answers
9k views

How do I find out if a uid exists?

I have added a new user in Ubuntu using puppet with a hard coded uid of 10017. The uids must be the same across workstations so that when user data is restored everything lines up. Now I find out ...
user avatar
-2 votes
1 answer
182 views

Make user have same UID as PHP?

I'm running a web app in a FreeBSD jail. Nginx and PHP are configured as user:group www:www. I have a chrooted SFTP user who also is in the group www. (SFTPuser:www) My goal is that the files that I ...
user avatar
  • 313
3 votes
1 answer
1k views

glusterfs uid/gid mapping on Debian Wheezy

So I setup a glusterfs volume and it works all fine, but I can't seem to figure out how to mount it with permissions other than root. Supposedly there's options like translate-uid that can be ...
user avatar
  • 31
3 votes
1 answer
454 views

Why do some outgoing IP traffic not contain UID information?

I am doing egress logging on my server using IPTABLES with the following line which is supposed to provide UID information on all traffic that is logged: -A OUTPUT -j LOG --log-prefix "IPTABLES(O): " ...
user avatar
25 votes
2 answers
10k views

What's the advantage of synchronizing UID/GID across Linux machines?

Before I plunge into the depths of how to synchronize UID's/GID's across my different Linux machines, I would like to know what is actually the benefit? I know that this keeps file synchronization ...
user avatar
  • 407
0 votes
1 answer
137 views

Linux map usernames

We had an LDAP server which had our own groups and usernames on. Now we are moving to a centrally managed LDAP server. The users now have a different username but still have a home folder mapped to ...
user avatar
1 vote
2 answers
2k views

Change existing linux user's uid in LDAP but hdfs seems does not recognize it

I have set up a hadoop 1.2.1 environment on centos 6. I also use nfs-proxy that mount ndfs to local file system so that I can access the files inside hdfs locally. It works perfectly until today, I ...
user avatar
0 votes
0 answers
186 views

How to restrict UID range in AD Identity Management for UNIX

I want to enable AD (win 2008 R2) users on a linux box. The problem is that there are also local users (for historical reasons). Now I want to make sure that there is no clash in UIDs (or at least ...
user avatar
  • 1,163
2 votes
1 answer
9k views

phpldapadmin: login as "root" admin user with UID

I have recently installed phpldapadmin on Ubuntu 12.04 LTS Srv. In the the config.php I've modified the following parameter in order to enable simple user login: $servers->('login','bind_pass','...
user avatar
3 votes
1 answer
141 views

Effect Locking a user account with a UID of 0

Currently my organization has in it's linux configuration two accounts with a UID of 0 - Root and Root2. If we were to set a failed login attempts setting for the Root2 account, and the account were ...
user avatar
  • 600
2 votes
1 answer
2k views

samba: pdbedit reports wrong user id

I have problem to localize the source of this error. I tried to google it out but couldn't find anything useful. I have noticed that samba and the system using for some, but not for all, users ...
user avatar
  • 295
3 votes
1 answer
16k views

OpenLDAP Authentication UID vs CN issues

I'm having trouble authenticating services using uid for authentication, which I thought was the standard method for authentication on the user. So basically, my users are added in ldap like this: # ...
user avatar
  • 55
2 votes
1 answer
4k views

Running apache + mod_wsgi as different user

I have a django project, which I am moving from the dev-server to apache. I have managed to get it server with mod_wsgi, but it runs as apache. Mod_wsgi documentation says, that if apache is run as ...
user avatar
1 vote
2 answers
822 views

How to add root user in nis passwd file?

One of the sys admins accidentally moved aside /etc/passwd... doh! Restoring the file from backup doesn't work... it errors out because root user does not exist. I've got NIS running at this site and ...
user avatar
0 votes
1 answer
92 views

Change effective id

I'd like to know how to change my effective uid mike628@NASBD122F:/etc$ id -G 1000 0 121 I belong to these groups, but I cant do anything as root, when things are owned by root:root and can someone ...
user avatar
  • 289
0 votes
5 answers
4k views

Windows DHCP-Client shall not send UID

is there a way to tell the Windows DHCP-Client not to send along this useless UID parameter with its DHCP requests? Thing is: We have dual boot machines (Windows and Linux). When Windows gets started ...
user avatar
  • 177
1 vote
2 answers
769 views

Set different PHP UID for Apache VirtualHost

I have many VirtualHosts for different users. How can I set UID for PHP process per VirtualHosts?
user avatar
  • 13
1 vote
1 answer
667 views

pam_ldap uid caching ability

Currently using winbind, but looking to switch to pam_ldap. Does pam_ldap have the ability to take a uid on the fly like winbind does (from a pool of numbers) and cache it locally during use ? The ...
user avatar
  • 5,397
0 votes
3 answers
372 views

Access backup files with different UID

Say I have a user with UID 500 on a linux machine for administration purposes. This machine is a backup repository for other *nix machines. I need the user 500 to access the files in the backups, but ...
user avatar
0 votes
1 answer
113 views

mod_wsgi with dynamically allocated UIDs

I have a system where users upload wsgi applications and we serve them using apache/mod_wsgi. For scaling reasons, we're simply using the WSGIDaemonProcess directive and setting them to dynamically ...
user avatar
4 votes
1 answer
1k views

nfs4 id->user client-side not working

The situation is an nfs4 server and client using rpc.idmapd to map ids. The id mapping is working on the client for existing files served up from the server. On the server: [root@server ~]# id user1 ...
user avatar
  • 148
0 votes
2 answers
1k views

bulk swap uidNumber/gidNumber?

We currently have LDAP servers in Dev env. and staging/prod env. Both are not coupled and accounts are created manually. So the uids are same but the uidNumber and gidNumber are different across these ...
user avatar
23 votes
4 answers
30k views

How big (in bits) is a Unix UID?

I understand that unix user IDs (UIDs) are usually 16 or 32 bit unsigned integers but how can I find out for any given system (in a shell)?
user avatar
  • 393
1 vote
3 answers
323 views

Memory Usage by UID (Unix)

I need the best way to get the SUM of the total RAM usage for a given UID (Unix).
user avatar
  • 111
12 votes
2 answers
17k views

Limiting UID range for new local user accounts

I have several CentOS 4 machines that I decided to have authenticate against a Win2008 DC via LDAPS, so when an Active Directory user logs in with his credentials on a server, it creates the user's ...
user avatar
  • 303
1 vote
3 answers
294 views

Linux box on a Windows AD network

My work environment is mainly Windows and Active Directory. Active Directory has no unix attributes extended. What is the best way to fully integrate a Linux box in that environment? I'd like the ...
user avatar
  • 3,922