Created
January 30, 2015 15:04
-
-
Save markogresak/5e4cc439b2400348303f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a) useradd -D | |
| b) useradd -c "Uporabniski komentar" -s /bin/bash -m uporabnik1 | |
| useradd -c "Uporabniski komentar" -s /bin/bash -m uporabnik2 | |
| c) chmod 000 -R /home/uporabnik1 | |
| chmod 744 -R /home/uporabnik2 | |
| d) passwd uporabnik1 | |
| passwd uporabnik2 | |
| e) groupadd skupina | |
| usermod -G skupina uporabnik1 | |
| usermod -G skupina uporabnik2 | |
| f) userdel uporabnik1 | |
| userdel uporabnik2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment