Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #83935
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Locked Disks |
| Date | 2015-10-22 18:03 +0000 |
| Organization | People for the Ethical Treatment of Pirates |
| Message-ID | <d8smncFogadU13@mid.individual.net> (permalink) |
| References | (1 earlier) <1mcgkfc.ga0hzeo8rqq9N%csampson@inetworld.net> <vilain-A6D8AD.14590618102015@news.individual.net> <1mcn04j.14jet5gu3g174N%csampson@inetworld.net> <slrnn2ghm9.sgg.g.kreme@amelia.local> <1mcow6t.1be8e8d1k39g4cN%csampson@inetworld.net> |
On 2015-10-22, Charles H. Sampson <csampson@inetworld.net> wrote: > > Okay, although I know a lot about Unix You always say that, but your posts prove otherwise. > I don't call myself an expert at > this time/. (I have worked on implementing other operating systems > during my career.) Here's where I'm hung up. If I manually enter > > sudo <something> > > I'm asked for my password. I don't know how to handle that in a script, > either bash or c-shell. An explanation of how to do it will keep me from > logging in a root, which is fine by me. If you run the script in the root account there's no need to sudo it. If this is to be an automated script, the obvious solution is to run the script from the root cron table (sudo crontab -e). None of the above requires enabling the root user or logging into the root account with the OS X GUI. Neither of those are recommended due to security reasons, and neither are required. -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar
Locked Disks csampson@inetworld.net (Charles H. Sampson) - 2015-10-17 10:38 -0700
Re: Locked Disks Jolly Roger <jollyroger@pobox.com> - 2015-10-17 19:04 +0000
Re: Locked Disks csampson@inetworld.net (Charles H. Sampson) - 2015-10-17 22:34 -0700
Re: Locked Disks csampson@inetworld.net (Charles H. Sampson) - 2015-10-17 22:51 -0700
Re: Locked Disks Michael Vilain <vilain@NOspamcop.net> - 2015-10-18 14:59 -0700
Re: Locked Disks csampson@inetworld.net (Charles H. Sampson) - 2015-10-21 10:11 -0700
Re: Locked Disks nospam <nospam@nospam.invalid> - 2015-10-21 13:14 -0400
Re: Locked Disks Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-10-22 02:13 +0000
Re: Locked Disks csampson@inetworld.net (Charles H. Sampson) - 2015-10-22 10:48 -0700
Re: Locked Disks Jolly Roger <jollyroger@pobox.com> - 2015-10-22 18:03 +0000
Re: Locked Disks csampson@inetworld.net (Charles H. Sampson) - 2015-10-24 11:02 -0700
Re: Locked Disks csampson@inetworld.net (Charles H. Sampson) - 2015-10-22 10:48 -0700
Re: Locked Disks Jolly Roger <jollyroger@pobox.com> - 2015-10-22 18:04 +0000
Re: Locked Disks nospam <nospam@nospam.invalid> - 2015-10-22 14:06 -0400
Re: Locked Disks Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-10-22 18:16 +0000
Re: Locked Disks (Now Unlocked) csampson@inetworld.net (Charles H. Sampson) - 2015-10-18 23:43 -0700
csiph-web