blob: da4763919af8814516b77ac6fc6bcbd408a66067 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# Enumerate users.
users=`awk -F ':' '$3>=1000 && $3<2000 {print $1}' /etc/passwd`
# Install gnunet.conf for existing users.
for user in $users; do
install -m644 -o $user -g $user -D /etc/skel/.config/gnunet.conf \
/home/$user/.config/gnunet.conf
done
exit 0
|