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