On Mon, Jan 30, 2017 at 3:44 AM, Marko Rauhamaa <ma...@pacujo.net> wrote:
> Chris Angelico <ros...@gmail.com>:
>
>> On Mon, Jan 30, 2017 at 3:28 AM, Marko Rauhamaa <ma...@pacujo.net> wrote:
>>> Grant Edwards <grant.b.edwa...@gmail.com>:
>>>
>>>> On 2017-01-29, Marko Rauhamaa <ma...@pacujo.net> wrote:
>>>>> I *have* been longing for a serial console in linux distros.
>>>>
>>>> Well, all it takes is a tweak to the bootloader to add a kernel
>>>> "command-line" parameter...
>>>
>>> Can you give me a short Python script that effects the tweak to an ISO
>>> image? I need to run the script as a regular user.
>>
>> It'd start by mounting it somewhere, and finish by building a new ISO
>> with mkisofs, so a shell script would be more appropriate :)
>
> Mount? As a regular user?

Let me see, how much effort are you prepared to go to in order to do
this as a "regular user"... because at some point, "sudo" becomes only
one of many options, including "install another Unix system somewhere
that you are root of". But if you genuinely have to mount as a
non-root user, there's fusermount, which is often capable of loading
up an ISO.

But honestly, "ssh you@somebox" can be run by anyone, so there's
always a way around the whole not-having-root thing.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to