diff options
Diffstat (limited to 'mkuid.sh')
-rwxr-xr-x | mkuid.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ echo "extracting UID_MIN and GID_MIN" | |||
4 | echo "#ifndef FIREJAIL_UIDS_H" > uids.h | 4 | echo "#ifndef FIREJAIL_UIDS_H" > uids.h |
5 | echo "#define FIREJAIL_UIDS_H" >> uids.h | 5 | echo "#define FIREJAIL_UIDS_H" >> uids.h |
6 | 6 | ||
7 | if [ -f /etc/login.defs ] | 7 | if [ -r /etc/login.defs ] |
8 | then | 8 | then |
9 | echo "// using values extracted from /etc/login.defs" >> uids.h | 9 | echo "// using values extracted from /etc/login.defs" >> uids.h |
10 | UID_MIN=`awk '/^\s*UID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs` | 10 | UID_MIN=`awk '/^\s*UID_MIN\s*([0-9]*).*?$/ {print $2}' /etc/login.defs` |