Create a new user with the username as a password:
Code: Select all
#!/bin/bash
fkt_user_add() {
read -p "Username: " username
sudo useradd -m -d /home/$username -p $(openssl passwd -1 --salt xyz $username) $username
}
fkt_user_add
Code: Select all
#!/bin/bash
fkt_user_add() {
read -p "Username: " username
sudo useradd -m -d /home/$username -p $(openssl passwd -1 --salt xyz $username) $username
}
fkt_user_add
Copying of my openSUSE Tumbleweed PPC64 from the X1000 to the X5000 with rsync/SSH:xeno74 wrote: Sat Apr 09, 2022 5:01 pm File system replication of group policies (gpo) with rsync for Samba:
![]()
Code: Select all
bash-5.1# pwd
/run/media/amigaone/openSUSE
bash-5.1# ls
bin boot dev etc home lib lib64 lost+found mnt opt proc root run sbin srv sys tmp usr var
bash-5.1# rsync --stats --progress --numeric-ids -axAhHSP . [email protected]:/run/media/amigaone/openSUSE_XFS --exclude=/dev --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/mnt
Code: Select all
bash-5.1# mkdir tmp sys proc dev
bash-5.1# chmod 1777 tmp