From 264dfd9e05b9595d78642119c9cf43eee5558084 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 31 May 2020 20:01:42 +0000 Subject: Update to upstream r11882 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11883 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/createfiles.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter05/createfiles.xml') diff --git a/chapter05/createfiles.xml b/chapter05/createfiles.xml index ce1f67ba7..aed8d79da 100644 --- a/chapter05/createfiles.xml +++ b/chapter05/createfiles.xml @@ -160,7 +160,7 @@ EOF user. We add this user here and delete this account at the end of that chapter. -echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd +echo "tester:x:$(ls -n $(tty) | cut -d" " -f3):101::/home/tester:/bin/bash" >> /etc/passwd echo "tester:x:101:" >> /etc/group install -o tester -d /home/tester -- cgit v1.2.3-54-g00ecf