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