Compare commits
2 Commits
1009c4707b
...
5a74d0822a
Author | SHA1 | Date | |
---|---|---|---|
|
5a74d0822a | ||
|
6e5bac6707 |
@ -1,7 +1,7 @@
|
|||||||
% misc
|
% misc
|
||||||
|
|
||||||
# List users
|
# Show users service
|
||||||
cat /etc/passwd | awk -F: '{ print $1}'
|
cat /etc/passwd |awk -F: '{ print $1}'
|
||||||
|
|
||||||
# Change user password
|
# Change user password
|
||||||
sudo passwd <user>
|
sudo passwd <user>
|
||||||
@ -15,4 +15,4 @@ sudo useradd <username>
|
|||||||
# Delete an user
|
# Delete an user
|
||||||
sudo deluser <user>
|
sudo deluser <user>
|
||||||
|
|
||||||
$ user: cat /etc/passwd | awk -F: '{ print $1}'
|
$ user: cat /etc/passwd |awk -F: '{ print $1}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user