Skip to content
Permalink
Browse files

Fix sed command to add _apt user to inet group

  • Loading branch information...
Re4son committed Jan 26, 2019
1 parent 004fad0 commit 42d5e1efa71920152da30d762fc3dddcd219310f
Showing with 1 addition and 1 deletion.
  1. +1 −1 nethunter-fs/stages/stage3
@@ -131,7 +131,7 @@ EOF

# Apt now adds a new user to "nobody" but the _apt user can't access updates
# because of inet. Modify passwd to put them in inet group for android
sed -i 's/_apt:x:104:65534/_apt:x:104:3004/g' "$rootfs/etc/passwd"
sed -i -e 's/^\(_apt:\)\([^:]\)\(:[0-9]*\)\(:[0-9]*\):/\1\2\3:3004:/' "$rootfs/etc/passwd"

# Fix armitage to run on NH
# https://github.com/offensive-security/kali-nethunter/issues/600

0 comments on commit 42d5e1e

Please sign in to comment.
You can’t perform that action at this time.