We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b81c9c commit 74d0ad1Copy full SHA for 74d0ad1
bin/v_list_users
@@ -16,7 +16,7 @@ format=${1-shell}
16
json_list_users() {
17
echo '{'
18
fileds_count=$(echo "$fields" | wc -w)
19
- for USER in $(ls $VESTA/data/users/); do
+ for USER in $(grep @ /etc/passwd|cut -f 1 -d :); do
20
source $VESTA/data/users/$USER/user.conf
21
if [ -n "$data" ]; then
22
echo -e ' },'
@@ -54,7 +54,7 @@ shell_list_users() {
54
echo
55
fi
56
57
58
59
for field in $fields; do
60
eval value=$field
0 commit comments