Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
7e27dc3c8541b41e71fb8254fc2a5f2e378706b5
Branches
master
Files
Commits
Log
Graph
Stats
ramdisk.git
src
userid.js
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 3
Mode: javascript
Binary: false
Hang on, we reloading big blames...
724156a2
const {execSync} = require('child_process')
dab4686c
module.exports.uid = (username) => { const output = execSync(`id -u ${username}`).toString().trim() return parseInt(output) } module.exports.gid = (username) => { const output = execSync(`id -g ${username}`).toString().trim() return parseInt(output)
724156a2
}