basic script for question 15 (C, D)
#!/bin/bash
useradd phil
useradd laura
useradd stewart
useradd kevin
chage -l phil
chage -l laura
chage -l stewart
chage -l kevin
groupadd accounting
gpasswd -a phil accounting
gpasswd -a laura accounting
groupadd marketing
gpasswd -a stewart marketing
gpasswd -a kevin marketing
Žiadne komentáre:
Zverejnenie komentára