Fixing typos
This commit is contained in:
parent
db04418804
commit
b16cdac4c8
|
@ -1,26 +1,26 @@
|
||||||
#+options: toc:nil num:nil author:nil
|
#+options: toc:nil num:nil author:nil
|
||||||
|
|
||||||
* Adding a new user
|
* Adding a new user to the system
|
||||||
|
|
||||||
Check users that are logged
|
Check users that are logged
|
||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
users
|
users
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
: myuser
|
: myuser
|
||||||
|
|
||||||
Creating a new user called "test"
|
Creating a new user called "test". Should use ~sudo~
|
||||||
|
|
||||||
#+begin_example bash
|
#+begin_example bash
|
||||||
sudo useradd -p -m test
|
useradd -p -m test
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
The configuration file "useradd" sets options for this command:
|
The configuration file "useradd" sets options for this command:
|
||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
sudo less /etc/default/useradd
|
less /etc/default/useradd
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
|
@ -41,7 +41,7 @@ PS: should use "sudo" to see the file. And ~less()~ or ~more()~ will show the fi
|
||||||
The following file contains a list of fields about each user:
|
The following file contains a list of fields about each user:
|
||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
head -4 /etc/passwd
|
head -4 /etc/passwd
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
|
|
Loading…
Reference in New Issue