blob: 4b808aee4fa1589f69afb0ae97bfc6fc7062f2b1 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
THIS_SH=/bin/sh
ln -sf /bin/ed /usr/bin/ed
/usr/sbin/adduser --disabled-password quilttest
su -c "${THIS_SH} ./test.sh" quilttest
/usr/sbin/deluser quilttest
rm -f /usr/bin/ed
|