Questions tagged [uid]

uid refers to a string used for record keeping which is not guaranteed to be unique, but should be in the large majority of use cases.

uid stands for one of the following:

  • user identifier
  • unique identifier

References

368 questions
0
votes
0 answers

Strategy for creating "memorable" user IDs

I am creating an system where users need to remember their user IDs (or at least most of it) and it should be based on a format that even if the user doesn't know or remember their ID it can be derived from personal and demographic information by…
frazras
  • 5,928
  • 4
  • 30
  • 40
0
votes
0 answers

Facebook uid retrieve different number

Im trying to get the uid but is retrieving different number. FB.getLoginStatus(function(response) { if (response.status === 'connected') { alert ("Your UID is " + response.authResponse.userID); } }); I use Graph API tool and put …
0
votes
1 answer

c++ unique persistent class identifier

Goal: I have many derived classes (later on there will probably be additional derived classes) which are stored inside a tree structure and I want to serialize each of those classes into a protobuffer and later encrypt the binary data (given by…
Ralf
  • 25
  • 1
  • 6
0
votes
1 answer

How to search emails that are not listed in a given MessageUIds using IMAP?

I'm using http://ruby-doc.org/stdlib/libdoc/net/imap/rdoc/index.html to access gmail. I can search for emails with a particular label, but I'm trying to avoid to search an email twice. So in order to do that, I thought that I could store the…
Claudio Acciaresi
  • 31,951
  • 5
  • 33
  • 43
0
votes
1 answer

NFS uid mapping - reboot

I (as everybody )))) try to mount NFS folder on client while keeping UIDs on CentOS 6.5. So I have user test with uid 10000 on server (useradd -u 10000 -g 9999 test), that has files belonging to him. I export folder with no_all_squash option. After…
Vova l
  • 213
  • 6
  • 15
0
votes
1 answer

No method uid for Hash error when testing omniauth login with cucumber

I am trying to write integration tests that involve signing in using Omniauth, specifically Twitter. The error I get whenever running the Cucumber test is this: When I sign in with "Twitter" features/step_definitions/steps.rb:5 undefined…
hamchapman
  • 2,901
  • 4
  • 22
  • 37
0
votes
1 answer

Reset UID/GID counter after vmail setup

On my personal server, I recently made the move from Ubuntu Server 10.04 to Debian Wheezy 7.2. As part of that transition, I went from physical users/mailboxes to a virtual mailbox setup using dovecot+postfix+postfixadmin. In doing so, I created a…
Chris
  • 1
  • 1
0
votes
1 answer

setuid bit on, yet program can't open a superuser file

I have a file superuser.cpp created by the superuser with access permissions 770. Now, the superuser creates a file setuidDemonstration.cpp in which superuser.cpp is opened using open("superuser.cpp", O_RDONLY). The .cpp and the object file of…
AvinashK
  • 3,309
  • 8
  • 43
  • 94
0
votes
2 answers

Persistent UIDs for a mailbox

We have to develop a Message Store using a IMAP interface that should have the functionality of Persistent UIDs so that later those messages can be synchronized across multiple devices (like mobile, PC, Laptop) and the device can delete / copy the…
nigar
0
votes
2 answers

Find out which user created local incoming TCP connection inside of application

On Linux, it's possible to filter packets originating on localhost based on the user or group that created them, i.e. who owns the socket: iptables ... -m owner --uid-owner $USER --gid-owner $GROUP -p tcp ... But I want to approach it from the…
0
votes
1 answer

Linux; Change UID to root if you are not root

I write a simple program When you run this program, if you are not root user, input root password, then change uid to root if (getuid()) { char *pass = getpass(""); //how to change uid to root ? } How to change uid to root when you got root…
midCat
  • 123
  • 4
  • 13
0
votes
1 answer

Setting permissions on a CRAMFS file system

I am attempting to create a CRAMFS filesystem but am struggling with permissions. How to I set permissions so that when a host mounts the filesystem it will be root:root? Once the CRAMFS is created it is a read-only FS so no changes can occur;…
Ed Dantes
  • 53
  • 1
  • 2
  • 10
0
votes
2 answers

strange user identification in ejabberd jabber

I really did try to google this one, but apparently I don't know the right question... I have my own jabber server running on ejabberd. It is corporate server where I manage contacts, so I'm sure everyone have full name set in their vCards and other…
meridius
  • 1,495
  • 1
  • 18
  • 26
0
votes
1 answer

JS: How to generate (random ) ID like ItXaK9gw

What is the best way to generate random (pseudo-unique) ID that will include: 1) small chars 2) cap chars 3) digits with JavaScript (browser and node). I know the solution with small chars register. return ("00000" +…
WHITECOLOR
  • 24,996
  • 37
  • 121
  • 181
0
votes
1 answer

Creating User Accounts with unique uid in OpenLDAP

I'm trying to create a number of user accounts (class is OpenLDAPperson) in OpenLDAP and the problem I'm having is that the uid property is not enforced as UNIQUE by LDAP. Looks like only object class "account" enforces uid uniquenes, unfortunately,…
user1803311
  • 101
  • 8