Code Block | ||
---|---|---|
| ||
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 |
Page Comparison
General
Content
Integrations