Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
69f5e0bc61dcd6336f81a31a32b5e6a97c8932e7
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
}