mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-12-25 00:22:54 +00:00
13 lines
205 B
Bash
13 lines
205 B
Bash
|
#!/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
|
||
|
|