Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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/home
echo Type a password for user ZTEST
passwd ztest
echo Type a password for user ADMIN
passwd admin
  • No labels