Questions tagged [uid]

44 questions
2
votes
1 answer

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 root, it is possible to run mod_wsgi process as a…
Esa Varemo
  • 551
  • 3
  • 8
  • 21
1
vote
3 answers

Memory Usage by UID (Unix)

I need the best way to get the SUM of the total RAM usage for a given UID (Unix).
user29964
  • 111
  • 1
1
vote
1 answer

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 possible to change a user ID later, but for my scenario…
pufferfish
  • 2,660
  • 9
  • 37
  • 40
1
vote
1 answer

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 based on my user id and group id. The problem is…
Jure1873
  • 3,692
  • 1
  • 21
  • 28
1
vote
2 answers

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 was asked to integrate user authentication with…
user1817188
  • 183
  • 1
  • 8
1
vote
3 answers

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 AD authentication to work seamlessly with all…
churnd
  • 3,977
  • 5
  • 33
  • 41
1
vote
2 answers

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 serving the passwd/group/shadow files and I tried…
Caroline
  • 13
  • 2
1
vote
2 answers

Set different PHP UID for Apache VirtualHost

I have many VirtualHosts for different users. How can I set UID for PHP process per VirtualHosts?
Sannis
  • 13
  • 2
1
vote
1 answer

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 documentation makes no mention of such an ability,…
Sirex
  • 5,447
  • 2
  • 32
  • 54
1
vote
1 answer

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, but AD was never used for Linux auth (only using…
Will Dennis
  • 304
  • 4
  • 16
1
vote
1 answer

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 websites (user in VestaCP). Then I have created…
Alex
  • 61
  • 2
0
votes
0 answers

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 connections handles with NFS). I am looking for a…
Debian
  • 51
  • 2
  • 5
0
votes
2 answers

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-ldap it already fails: you should be able to run…
anderstood
  • 113
  • 1
  • 1
  • 7
0
votes
1 answer

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 installing PHP with FPM support, of course, the first…
GGets
  • 270
  • 2
  • 6
0
votes
1 answer

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 that username/UID. I wondered if there was any way…