Questions tagged [uid]
44 questions
26
votes
2 answers
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 relatively easy (as ownership is "naturally"…
alex
- 417
- 1
- 7
- 10
23
votes
4 answers
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)?
Josef
- 393
- 1
- 3
- 8
12
votes
2 answers
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 directory and sets him up.
Thing is, the servers…
kdingo
- 303
- 1
- 3
- 8
7
votes
4 answers
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
administrator@host:/home/administrator$ cat…
TechnicalChaos
- 133
- 1
- 8
6
votes
1 answer
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 option. It says:
all_squash: Map all uids and…
qqilihq
- 201
- 1
- 2
- 7
5
votes
2 answers
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=example,dc=com
uid: shahrukh
cn: shahrukh
sn:…
Shahrukh Khan
- 201
- 2
- 5
- 10
5
votes
2 answers
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 that uid is not unique. Mysql is using it. How can I…
markhorrocks
- 471
- 2
- 9
- 24
4
votes
1 answer
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
uid=500(user1) gid=502(user1)…
bee
- 148
- 1
- 8
3
votes
1 answer
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 configured for a volume, but that option doesn't appear…
Tom
- 31
- 2
3
votes
1 answer
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): " --log-level info --log-uid
However, once in a…
Question Overflow
- 2,023
- 7
- 28
- 44
3
votes
1 answer
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 subsequently locked, would it also lock out the…
tdk2fe
- 600
- 2
- 13
3
votes
1 answer
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:
# jsmith, Users, example.com
dn:…
TagWolf
- 55
- 1
- 1
- 4
2
votes
0 answers
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, but it seems they are not able to retrieve their…
karamaz0v
- 21
- 1
- 2
2
votes
1 answer
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','secret');
and
$servers->('login','attr','uid');
By…
Eric Periard
- 21
- 1
- 2
2
votes
1 answer
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 different UIDs. Most of them are the same. Some as shown…
Kris_R
- 295
- 1
- 9