aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/createfiles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/createfiles.xml')
-rw-r--r--chapter07/createfiles.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml
index 93abeaf8e..c55d40836 100644
--- a/chapter07/createfiles.xml
+++ b/chapter07/createfiles.xml
@@ -175,7 +175,7 @@ EOF</userinput></screen>
user. We add this user here and delete this account at the end of that
chapter.</para>
-<screen><userinput>echo "tester:x:$(ls -n $(tty) | cut -d" " -f3):101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
+<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
echo "tester:x:101:" &gt;&gt; /etc/group
install -o tester -d /home/tester</userinput></screen>