Creating an installer is a great use of sudo because it runs the program as root and needs root to access the various block devices. It’s also why you need to be careful because root has access to all your files and block devices.;)
Even running sudo on most unix machines gives you a little speech about being a super user before executing the first time. > On Jun 28, 2017, at 10:59 PM, E.T. <ancient.ali...@icloud.com> wrote: > > I do as little as possible in Terminal, One instance where I used my > password was when creating an installer. > > From E.T.'s Keyboard. . . > "God for you is where you sweep away all the > mysteries of the world, all the challenges to > our intelligence. You simply turn your mind off > and say God did it." --Carl Sagan > E-mail: ancient.ali...@icloud.com > > On 6/28/2017 7:21 PM, Jonathan Cohn wrote: >> Ah, be very careful of any command in terminal that requires your >> password. These are commands that are using the "sudo" command. >> >> Sudo essentially says run this as root which is the most privileged user >> on a UNIX system. While you can not break system files in Sierra due to >> extra security added, any file in user space can be viewed or modified >> when you use the sudo command. >> Why sudo you might ask? Well originally there was su for substitute >> user. This allows one to access the computer with another permissions >> for a while. >> >> sudo is a bit more secure in that: >> 1. There is a configuration file in /etc/sudoers that says what commands >> can be executed by whom whith what rights. >> 2. It prompts you four your password rather than the person you are >> trying to execute as so there is no need to share a password to do this >> work. >> >> Take care, >> Jonathan Cohn >> >> >> >>> On Jun 27, 2017, at 4:51 PM, E.T. <ancient.ali...@icloud.com >>> <mailto:ancient.ali...@icloud.com>> wrote: >>> >>> Last I ran Terminal, I simply pasted code in and pressed enter. In >>> some cases you may be asked for your log in password. >>> >>> From E.T.'s Keyboard. . . >>> "God for you is where you sweep away all the >>> mysteries of the world, all the challenges to >>> our intelligence. You simply turn your mind off >>> and say God did it." --Carl Sagan >>> E-mail: ancient.ali...@icloud.com <mailto:ancient.ali...@icloud.com> >>> >>> On 6/27/2017 1:48 PM, Sharon Hooley wrote: >>>> Hi, >>>> >>>> I want to try copying and pasting the coding that was sent earlier. >>>> I found Terminal in the “others” folder. when I entered I found my >>>> last log-in date, among other things, including shell . I don’t know >>>> where to type or paste. . Then I inadvertently closed the window so >>>> that it said, “Terminal has no windows”. So how, exactly, do I use >>>> it to put in code? >>>> >>>> Thanks, >>>> >>>> >>> >>> -- >>> The following information is important for all members of the Mac >>> Visionaries list. >>> >>> If you have any questions or concerns about the running of this list, >>> or if you feel that a member's post is inappropriate, please contact >>> the owners or moderators directly rather than posting on the list itself. >>> >>> Your Mac Visionaries list moderator is Mark Taylor. You can reach >>> mark at: macvisionaries+modera...@googlegroups.com >>> <mailto:macvisionaries+modera...@googlegroups.com> and your owner is >>> Cara Quinn - you can reach Cara at caraqu...@caraquinn.com >>> <mailto:caraqu...@caraquinn.com> >>> >>> The archives for this list can be searched at: >>> http://www.mail-archive.com/macvisionaries@googlegroups.com/ >>> --- You received this message because you are subscribed to the Google >>> Groups "MacVisionaries" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to macvisionaries+unsubscr...@googlegroups.com. >>> To post to this group, send email to macvisionaries@googlegroups.com. >>> Visit this group at https://groups.google.com/group/macvisionaries. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> The following information is important for all members of the Mac >> Visionaries list. >> >> If you have any questions or concerns about the running of this list, or >> if you feel that a member's post is inappropriate, please contact the >> owners or moderators directly rather than posting on the list itself. >> >> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark >> at: macvisionaries+modera...@googlegroups.com and your owner is Cara >> Quinn - you can reach Cara at caraqu...@caraquinn.com >> >> The archives for this list can be searched at: >> http://www.mail-archive.com/macvisionaries@googlegroups.com/ >> --- >> You received this message because you are subscribed to the Google >> Groups "MacVisionaries" group. >> To unsubscribe from this group and stop receiving emails from it, send >> an email to macvisionaries+unsubscr...@googlegroups.com >> <mailto:macvisionaries+unsubscr...@googlegroups.com>. >> To post to this group, send email to macvisionaries@googlegroups.com >> <mailto:macvisionaries@googlegroups.com>. >> Visit this group at https://groups.google.com/group/macvisionaries. >> For more options, visit https://groups.google.com/d/optout. > > -- > The following information is important for all members of the Mac Visionaries > list. > > If you have any questions or concerns about the running of this list, or if > you feel that a member's post is inappropriate, please contact the owners or > moderators directly rather than posting on the list itself. > > Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: > macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you > can reach Cara at caraqu...@caraquinn.com > > The archives for this list can be searched at: > http://www.mail-archive.com/macvisionaries@googlegroups.com/ > --- You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to macvisionaries+unsubscr...@googlegroups.com. > To post to this group, send email to macvisionaries@googlegroups.com. > Visit this group at https://groups.google.com/group/macvisionaries. > For more options, visit https://groups.google.com/d/optout. -- The following information is important for all members of the Mac Visionaries list. If you have any questions or concerns about the running of this list, or if you feel that a member's post is inappropriate, please contact the owners or moderators directly rather than posting on the list itself. Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: macvisionaries+modera...@googlegroups.com and your owner is Cara Quinn - you can reach Cara at caraqu...@caraquinn.com The archives for this list can be searched at: http://www.mail-archive.com/macvisionaries@googlegroups.com/ --- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To post to this group, send email to macvisionaries@googlegroups.com. Visit this group at https://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.