Questions tagged [uid]
The uid tag has no usage guidance.
46
questions
0
votes
0
answers
39
views
How to pass "Source UID" to iptables?
Through command line, am setting firewall rules using iptable binary like below:
iptables -I PRIO_IN -p tcp -s "10.0.0.25/24" -d "10.0.0.26/24" -j ACCEPT
For above rule, now I ...
0
votes
0
answers
649
views
UID of windows Active Directory user seems to have been overwritten on storage host passwd
I have an issue which has me scratching my head, and I dont know where I need to enable deeper logging to find the source of the issue.
We have a third party appliance, where we do have root ssh ...
1
vote
2
answers
2k
views
A few users and subuid/subgid mapping
I cannot get my head around the userns-idmap mapping ie with sub{uid,gid} mapping stuff.
Here's what I have:
# lxc launch images:ubuntu/22.04 c1
# lxc config device add c1 home disk source=/home/user3/...
0
votes
1
answer
816
views
Decode UID from dhcpd.leases
I have am testing a device on my network which has this lease assigned:
lease 192.168.110.85 {
starts 3 2022/07/20 16:12:37;
ends 3 2022/07/20 16:22:37;
cltt 3 2022/07/20 16:12:37;
binding ...
0
votes
1
answer
757
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 ...
0
votes
2
answers
586
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 ...
1
vote
1
answer
830
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, ...
1
vote
1
answer
92
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 ...
2
votes
0
answers
5k
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, ...
7
votes
5
answers
5k
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
...
-2
votes
1
answer
6k
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
0
answers
111
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 ...
7
votes
1
answer
26k
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
2
answers
3k
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
1
answer
33
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 ...
1
vote
1
answer
2k
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 ...
-3
votes
1
answer
501
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) ...
1
vote
1
answer
2k
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
1
answer
1k
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 ...
5
votes
2
answers
118k
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=...
7
votes
2
answers
11k
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
1
answer
191
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
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 ...
3
votes
1
answer
789
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): " ...
26
votes
2
answers
11k
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
1
answer
160
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
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 ...
0
votes
0
answers
213
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
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','...
3
votes
1
answer
153
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
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 ...
3
votes
1
answer
18k
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:
# ...
3
votes
1
answer
5k
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
2
answers
878
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
1
answer
96
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
5
answers
5k
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
2
answers
824
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
1
answer
741
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
3
answers
434
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
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 ...
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
...
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 ...
23
votes
4
answers
33k
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
3
answers
366
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).
13
votes
2
answers
18k
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
3
answers
301
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 ...