Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [uid]

The tag has no usage guidance.

2
votes
0answers
534 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, ...
4
votes
3answers
654 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 ...
-4
votes
1answer
862 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
0
votes
0answers
30 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 ...
1
vote
0answers
1k 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 ...
0
votes
2answers
558 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-...
-1
votes
1answer
30 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 ...
-3
votes
1answer
216 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) ...
0
votes
1answer
787 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 ...
0
votes
1answer
723 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 ...
2
votes
2answers
34k 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=...
0
votes
2answers
5k 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 ...
-2
votes
1answer
167 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 ...
3
votes
1answer
737 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 ...
2
votes
1answer
130 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): " ...
24
votes
2answers
8k 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 ...
0
votes
0answers
45 views

Failed backup, Create User Accounts from /home dir username uid gid

Trying to repair/replace a system from a failed backup. /etc is gone, trying to recover that, but in the meantime I need to work on a plan B. /home remains with UID and GID and all of the important ...
0
votes
1answer
64 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 ...
1
vote
1answer
1k 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 ...
0
votes
0answers
163 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 ...
2
votes
1answer
6k 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','...
3
votes
1answer
114 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 ...
2
votes
1answer
1k 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 ...
3
votes
1answer
11k 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: # ...
2
votes
1answer
3k 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 ...
1
vote
2answers
740 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 ...
0
votes
1answer
85 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 ...
0
votes
5answers
3k 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 ...
1
vote
2answers
669 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?
1
vote
1answer
604 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 ...
0
votes
3answers
257 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 ...
0
votes
1answer
107 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 ...
4
votes
1answer
962 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 ...
0
votes
2answers
894 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 ...
16
votes
4answers
22k 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)?
1
vote
3answers
289 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).
11
votes
2answers
14k 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 ...
1
vote
3answers
274 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 ...