Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagebash
useradd -m -d /var/ztest -g staff -s /bin/bash ztest
echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest
useradd -m -g staff admin
echo "admin ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/admin
ls /export/homels /export/home
echo Type a password for user ZTEST
passwd ztest