Compare commits
2 Commits
5a74d0822a
...
1009c4707b
Author | SHA1 | Date | |
---|---|---|---|
|
1009c4707b | ||
|
d5ab2594b0 |
@ -1,7 +1,7 @@
|
||||
% misc
|
||||
|
||||
# Show users service
|
||||
cat /etc/passwd |awk -F: '{ print $1}'
|
||||
# List users
|
||||
cat /etc/passwd | awk -F: '{ print $1}'
|
||||
|
||||
# Change user password
|
||||
sudo passwd <user>
|
||||
@ -15,4 +15,4 @@ sudo useradd <username>
|
||||
# Delete an 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