[OpenSCAD] OpenSCAD on Debian

A. Craig West acraigwest at gmail.com
Mon Jul 15 15:51:41 EDT 2019


I mean sudo bash, if you are doing a lot of root tasks, and then if one of
the tasks doesn't need root, su -c "do unprivileged command" username


On Mon, 15 Jul 2019, 15:43 nop head, <nop.head at gmail.com> wrote:

> Yes we used to be able to do su root, before unix became a nany like
> thieving else these days.
>
> On Mon, 15 Jul 2019 at 20:38, Bryan Lee <leebc11 at acm.org> wrote:
>
>> Yeah.. Don't....   Dont' do it like that.   That makes the privledge
>> seperation pointless and you may as well run everything as root.
>>
>> Thus A. Craig West hast written on Mon, Jul 15, 2019 at 03:11:23PM -0400,
>> and, according to prophecy, it shall come to pass that:
>> > This is where 'sudo bash' is your friend...
>> >
>> > On Mon, 15 Jul 2019, 15:05 Bryan Lee, <leebc11 at acm.org> wrote:
>> >
>> > > Try it as:
>> > >         sudo ls
>> > > then    wget -qO - https://files.openscad.org/OBS-Repository-Key.pub
>> |
>> > > sudo apt-key add -
>> > >
>> > >
>> > > I have had problems before because sudo needs you to authenticate, but
>> > > piping
>> > > into sudo redirects stdin and stdout, making authentication
>> impossible.
>> > >
>> > >
>> > > Thus Torsten Paul hast written on Mon, Jul 15, 2019 at 08:48:08PM
>> +0200,
>> > > and, according to prophecy, it shall come to pass that:
>> > > > On 15.07.19 09:03, MichaelAtOz wrote:
>> > > > > I tried 'wget -qO -
>> https://files.openscad.org/OBS-Repository-Key.pub
>> > > | sudo
>> > > > > apt-key add -'
>> > > > >
>> > > > > gpg: WARNING: nothing exported
>> > > > > gpg: no valid OpenPGP data found.
>> > > > > gpg: Total number processed: 0
>> > > >
>> > > > I've never seen that fail really, I suspect that maybe wget is
>> > > > just not installed?
>> > > >
>> > > > Does it work separately?
>> > > >
>> > > > wget https://files.openscad.org/OBS-Repository-Key.pub
>> > > > apt-key add OBS-Repository-Key.pub
>> > >
>> > > _______________________________________________
>> > > OpenSCAD mailing list
>> > > Discuss at lists.openscad.org
>> > > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>> > >
>>
>> > _______________________________________________
>> > OpenSCAD mailing list
>> > Discuss at lists.openscad.org
>> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> Discuss at lists.openscad.org
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190715/42934143/attachment.html>


More information about the Discuss mailing list