diff --git a/content/notes/01-VM-intro.md b/content/notes/01-VM-intro.md new file mode 100644 index 000000000..33ae4ee39 --- /dev/null +++ b/content/notes/01-VM-intro.md @@ -0,0 +1,21 @@ +--- +title: "01-VM-intro" +tags: +- lab +- cosc342 +--- + +self assessment +- pros cons of using sudo as set up on ubuntu + - most things can be done safely using non-root accounts + - protects you from accidental damage + - more secure + - very small con of having to enter password to do root commands + +- How to ask questions the smart way + - + +# Questions +> Actually, neither command requires that you end up as root. Indeed, su is short for substitute user, so you could change to any other user. This is perhaps useful if you need to change from root to a normal user, or from a normal user to a special account, such as a database administrator + +^ what does it mean here to "end up as root" and change user \ No newline at end of file diff --git a/content/notes/cosc-301.md b/content/notes/cosc-301.md index 8fb36e6e6..cbc0d5bbd 100644 --- a/content/notes/cosc-301.md +++ b/content/notes/cosc-301.md @@ -12,6 +12,7 @@ https://www.cs.otago.ac.nz/cosc301/schedule.php # Assignments # Labs +- [[01-VM-intro]] # Notes - readings