create ch4 - add user

This commit is contained in:
Aditya 2023-01-06 11:15:50 +05:30
parent c9048b7b91
commit adf65dfb8c

View file

@ -0,0 +1,12 @@
#!/bin/bash
groupadd lfs
useradd -s /bin/bash -g lfs -m -k /dev/null lfs
passwd lfs
chown -v lfs $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools}
case $(uname -m) in
x86_64) chown -v lfs $LFS/lib64 ;;
esac