summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
authorroot <root@krebs>2011-05-04 22:38:47 +0200
committerroot <root@krebs>2011-05-04 22:38:47 +0200
commita8dc2f14ac42a928e67f67c736ffde5519f61de0 (patch)
tree9751e2c1f3df43a9f6b391d01d57aa81a81e4701 /infest
parent40c1e843753ec705f1252c0aa7c813f10e1489e8 (diff)
infest/passwd: keep /root
Diffstat (limited to 'infest')
-rwxr-xr-xinfest/passwd2
1 files changed, 1 insertions, 1 deletions
diff --git a/infest/passwd b/infest/passwd
index 25909702..d8636b08 100755
--- a/infest/passwd
+++ b/infest/passwd
@@ -5,5 +5,5 @@ f=/etc/passwd
sed -ri 's^(root:[^:]+):0:0:(.*)$\1:23:23:\2' $f
sed -ri '/^krebs/d' $f
-echo 'krebs:x:0:0:/krebs:/bin/bash' >>$f
+echo 'krebs:x:0:0:/root:/bin/bash' >>$f