Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II » ADTPro Serial Connection in Linux
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: ADTPro Serial Connection in Linux [message #386270 is a reply to message #386268] Fri, 23 August 2019 19:31 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Anthony Adverse

On Saturday, August 24, 2019 at 7:40:59 AM UTC+10, Bobbi wrote:
> On Friday, 23 August 2019 16:08:14 UTC-4, Anthony Adverse wrote:
>>> Call it adt or something, and then make it executable:
>>>
>>> chmod +x adt
>>>
>>> And you should be able to run that by clicking on it. This is assuming sudo is configured not to prompt for a password.
>>
>> did you mean chmod u+s? For set uid? as well as x.. I wonder..
>
> No +x is correct. It just needs to be executable, not setuid. The sudo does that!

my bad, looking with my eyes shut in the middle of the night :)
Re: ADTPro Serial Connection in Linux [message #386274 is a reply to message #386270] Fri, 23 August 2019 23:11 Go to previous messageGo to next message
Tempest is currently offline  Tempest
Messages: 529
Registered: November 2012
Karma: 0
Senior Member
Is there anything special I need to do to activate password-less sudo? I edited the sudoers file to enable the option but I'm still promoted for a password each time.
Re: ADTPro Serial Connection in Linux [message #386275 is a reply to message #386274] Fri, 23 August 2019 23:24 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Bobbi

On Friday, 23 August 2019 23:11:35 UTC-4, Tempest wrote:
> Is there anything special I need to do to activate password-less sudo? I edited the sudoers file to enable the option but I'm still promoted for a password each time.

I *think* this is all you need in /etc/sudoers:

root ALL=(ALL:ALL) ALL
Re: ADTPro Serial Connection in Linux [message #386280 is a reply to message #386275] Sat, 24 August 2019 01:57 Go to previous messageGo to next message
Tom Lake is currently offline  Tom Lake
Messages: 450
Registered: May 2012
Karma: 0
Senior Member
On Friday, August 23, 2019 at 11:24:54 PM UTC-4, Bobbi wrote:
> On Friday, 23 August 2019 23:11:35 UTC-4, Tempest wrote:
>> Is there anything special I need to do to activate password-less sudo? I edited the sudoers file to enable the option but I'm still promoted for a password each time.
>
> I *think* this is all you need in /etc/sudoers:
>
> root ALL=(ALL:ALL) ALL

Is that ALL?
Re: ADTPro Serial Connection in Linux [message #386294 is a reply to message #386275] Sat, 24 August 2019 03:49 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Anthony Adverse

On Saturday, August 24, 2019 at 1:24:54 PM UTC+10, Bobbi wrote:
> On Friday, 23 August 2019 23:11:35 UTC-4, Tempest wrote:
>> Is there anything special I need to do to activate password-less sudo? I edited the sudoers file to enable the option but I'm still promoted for a password each time.
>
> I *think* this is all you need in /etc/sudoers:
>
> root ALL=(ALL:ALL) ALL

Just use the root account :) Even if it is frowned upon as a security risk.
Re: ADTPro Serial Connection in Linux [message #386309 is a reply to message #386268] Sat, 24 August 2019 18:57 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Brian Patrie

On 23/08/2019 16.40, Bobbi wrote:
> On Friday, 23 August 2019 16:08:14 UTC-4, Anthony Adverse wrote:
>>> Call it adt or something, and then make it executable:
>>>
>>> chmod +x adt
>>>
>>> And you should be able to run that by clicking on it. This is assuming sudo is configured not to prompt for a password.
>>
>> did you mean chmod u+s? For set uid? as well as x.. I wonder..
>
> No +x is correct. It just needs to be executable, not setuid. The sudo does that!
>

setuid doesn't actually work for shell scripts, anyway.

Better (more secure) than using the no-password feature of sudo, is to
use "gksudo <command>" (which uses a GUI dialogue to prompt for the
password, so is not a problem when not using a terminal) in the script.
Re: ADTPro Serial Connection in Linux [message #386317 is a reply to message #386309] Sat, 24 August 2019 22:12 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Anthony Adverse

On Sunday, August 25, 2019 at 8:57:41 AM UTC+10, Brian Patrie wrote:
> On 23/08/2019 16.40, Bobbi wrote:
>> On Friday, 23 August 2019 16:08:14 UTC-4, Anthony Adverse wrote:
>>>> Call it adt or something, and then make it executable:
>>>>
>>>> chmod +x adt
>>>>
>>>> And you should be able to run that by clicking on it. This is assuming sudo is configured not to prompt for a password.
>>>
>>> did you mean chmod u+s? For set uid? as well as x.. I wonder..
>>
>> No +x is correct. It just needs to be executable, not setuid. The sudo does that!
>>
>
> setuid doesn't actually work for shell scripts, anyway.
>
> Better (more secure) than using the no-password feature of sudo, is to
> use "gksudo <command>" (which uses a GUI dialogue to prompt for the
> password, so is not a problem when not using a terminal) in the script.

One of my first things every time I set up a new system is to...

sudo passwd

and open up the root account. If your system isn't open to the outside world its hardly a security risk. Although I'd still recommend a decent password. Bets the hell out of sudo this, sudo that and sudo something else.
Re: ADTPro Serial Connection in Linux [message #386360 is a reply to message #386275] Mon, 26 August 2019 11:51 Go to previous messageGo to next message
scott is currently offline  scott
Messages: 4237
Registered: February 2012
Karma: 0
Senior Member
In article <ca7e0c57-5815-4b6e-94b8-0bed631c3bc9@googlegroups.com>,
Bobbi <bobbi.manners@gmail.com> wrote:
> On Friday, 23 August 2019 23:11:35 UTC-4, Tempest wrote:
>> Is there anything special I need to do to activate password-less sudo?
> I edited the sudoers file to enable the option but I'm still promoted
> for a password each time.
>
> I *think* this is all you need in /etc/sudoers:
>
> root ALL=(ALL:ALL) ALL

Not quite:

%wheel ALL=(ALL) NOPASSWD: ALL

This allows anybody in the wheel group to use sudo without a password. Add
yourself to the wheel group, log out, and log back in, and you're all set.

_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
Re: ADTPro Serial Connection in Linux [message #386368 is a reply to message #386360] Mon, 26 August 2019 16:26 Go to previous messageGo to next message
Tempest is currently offline  Tempest
Messages: 529
Registered: November 2012
Karma: 0
Senior Member
On Monday, August 26, 2019 at 11:51:12 AM UTC-4, Scott Alfter wrote:
> In article <ca7e0c57-5815-4b6e-94b8-0bed631c3bc9@googlegroups.com>,
> Bobbi <bobbi.manners@gmail.com> wrote:
>> On Friday, 23 August 2019 23:11:35 UTC-4, Tempest wrote:
>>> Is there anything special I need to do to activate password-less sudo?
>> I edited the sudoers file to enable the option but I'm still promoted
>> for a password each time.
>>
>> I *think* this is all you need in /etc/sudoers:
>>
>> root ALL=(ALL:ALL) ALL
>
> Not quite:
>
> %wheel ALL=(ALL) NOPASSWD: ALL
>
> This allows anybody in the wheel group to use sudo without a password. Add
> yourself to the wheel group, log out, and log back in, and you're all set.
>

I swear I did this, but I'll try again.
Re: ADTPro Serial Connection in Linux [message #386380 is a reply to message #386368] Mon, 26 August 2019 21:39 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Anthony Adverse

On Tuesday, August 27, 2019 at 6:26:32 AM UTC+10, Tempest wrote:
> On Monday, August 26, 2019 at 11:51:12 AM UTC-4, Scott Alfter wrote:
>> In article <ca7e0c57-5815-4b6e-94b8-0bed631c3bc9@googlegroups.com>,
>> Bobbi <bobbi.manners@gmail.com> wrote:
>>> On Friday, 23 August 2019 23:11:35 UTC-4, Tempest wrote:
>>>> Is there anything special I need to do to activate password-less sudo?
>>> I edited the sudoers file to enable the option but I'm still promoted
>>> for a password each time.
>>>
>>> I *think* this is all you need in /etc/sudoers:
>>>
>>> root ALL=(ALL:ALL) ALL
>>
>> Not quite:
>>
>> %wheel ALL=(ALL) NOPASSWD: ALL
>>
>> This allows anybody in the wheel group to use sudo without a password. Add
>> yourself to the wheel group, log out, and log back in, and you're all set.
>>
>
> I swear I did this, but I'll try again.

The wheel group? I haven't seen that in years, and not on any active system, where are you from? :)
Re: ADTPro Serial Connection in Linux [message #386381 is a reply to message #386380] Mon, 26 August 2019 21:44 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Bobbi

On Monday, 26 August 2019 21:39:35 UTC-4, Anthony Adverse wrote:
> On Tuesday, August 27, 2019 at 6:26:32 AM UTC+10, Tempest wrote:
>> On Monday, August 26, 2019 at 11:51:12 AM UTC-4, Scott Alfter wrote:
>>> In article <ca7e0c57-5815-4b6e-94b8-0bed631c3bc9@googlegroups.com>,
>>> Bobbi wrote:
>>>> On Friday, 23 August 2019 23:11:35 UTC-4, Tempest wrote:
>>>> > Is there anything special I need to do to activate password-less sudo?
>>>> I edited the sudoers file to enable the option but I'm still promoted
>>>> for a password each time.
>>>>
>>>> I *think* this is all you need in /etc/sudoers:
>>>>
>>>> root ALL=(ALL:ALL) ALL
>>>
>>> Not quite:
>>>
>>> %wheel ALL=(ALL) NOPASSWD: ALL
>>>
>>> This allows anybody in the wheel group to use sudo without a password. Add
>>> yourself to the wheel group, log out, and log back in, and you're all set.
>>>
>>
>> I swear I did this, but I'll try again.
>
> The wheel group? I haven't seen that in years, and not on any active system, where are you from? :)

Old-time SunOS/Solaris admin maybe ;)
Re: ADTPro Serial Connection in Linux [message #386388 is a reply to message #386381] Mon, 26 August 2019 23:14 Go to previous messageGo to next message
Tempest is currently offline  Tempest
Messages: 529
Registered: November 2012
Karma: 0
Senior Member
Manjaro (which is what I use) uses the wheel group for whatever reason.
Re: ADTPro Serial Connection in Linux [message #386423 is a reply to message #386380] Tue, 27 August 2019 12:47 Go to previous messageGo to next message
scott is currently offline  scott
Messages: 4237
Registered: February 2012
Karma: 0
Senior Member
In article <991df229-39ee-40ec-be96-49b8e4f06ac2@googlegroups.com>,
Anthony Adverse <the.ertceps@gmail.com> wrote:
> On Tuesday, August 27, 2019 at 6:26:32 AM UTC+10, Tempest wrote:
>> On Monday, August 26, 2019 at 11:51:12 AM UTC-4, Scott Alfter wrote:
>>> Not quite:
>>>
>>> %wheel ALL=(ALL) NOPASSWD: ALL
>>>
>>> This allows anybody in the wheel group to use sudo without a password. Add
>>> yourself to the wheel group, log out, and log back in, and you're all set.
>>
>> I swear I did this, but I'll try again.
>
> The wheel group? I haven't seen that in years, and not on any active
> system, where are you from? :)

Most of the Linux boxes I run use Gentoo Linux, where it's very much still a
thing. None of that systemd rubbish, either, unless you want it for some
strange reason.

_/_
/ v \ Scott Alfter (remove the obvious to send mail)
(IIGS( https://alfter.us/ Top-posting!
\_^_/ >What's the most annoying thing on Usenet?
Re: ADTPro Serial Connection in Linux [message #386432 is a reply to message #386423] Tue, 27 August 2019 13:48 Go to previous message
Anonymous
Karma:
Originally posted by: Bobbi

On Tuesday, 27 August 2019 12:47:10 UTC-4, Scott Alfter wrote:
> In article <991df229-39ee-40ec-be96-49b8e4f06ac2@googlegroups.com>,
> Anthony Adverse <the.ertceps@gmail.com> wrote:
>> On Tuesday, August 27, 2019 at 6:26:32 AM UTC+10, Tempest wrote:
>>> On Monday, August 26, 2019 at 11:51:12 AM UTC-4, Scott Alfter wrote:
>>>> Not quite:
>>>>
>>>> %wheel ALL=(ALL) NOPASSWD: ALL
>>>>
>>>> This allows anybody in the wheel group to use sudo without a password. Add
>>>> yourself to the wheel group, log out, and log back in, and you're all set.
>>>
>>> I swear I did this, but I'll try again.
>>
>> The wheel group? I haven't seen that in years, and not on any active
>> system, where are you from? :)
>
> Most of the Linux boxes I run use Gentoo Linux, where it's very much still a
> thing. None of that systemd rubbish, either, unless you want it for some
> strange reason.
>
> _/_
> / v \ Scott Alfter (remove the obvious to send mail)
> (IIGS( https://alfter.us/ Top-posting!
> \_^_/ >What's the most annoying thing on Usenet?

Totally off-topic, but I have learned to like systemd. I used to be a sceptic too.
Pages (2): [ «    1  2]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: A 80' Apple II BBS
Next Topic: Users of VidHD
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Apr 16 16:32:00 EDT 2024

Total time taken to generate the page: 0.05722 seconds