typo foor
This commit is contained in:
parent
4b8cd9a697
commit
cedbfa8e7c
|
@ -180,7 +180,7 @@ $ for user in $(getent passwd | awk -F ':' '$3 > 10000 {printf $1 " "}'); do gro
|
|||
#### LDAP
|
||||
|
||||
~~~{.bash}
|
||||
$ foor user in $(getent passwd | awk -F ':' '$3 > 10000 {printf $1 " "}'); do \
|
||||
$ for user in $(getent passwd | awk -F ':' '$3 > 10000 {printf $1 " "}'); do \
|
||||
ldapsearch -x -h localhost -LLL -b "uid=$user,ou=people,dc=MACHINE,dc=evolix,dc=net" cn | tail -n2 | \
|
||||
tr '\n' ' ' | cut -d':' -f2 | echo -n "$(cat <&0)"; echo = $(groups $user); done
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue