On Nov 18, 2010, at 5:52 AM, Julian Fagir wrote:
> The straight-forward way would be to write this script, have all input parsed
> by read and then let the script act according to this input (let's assume
> that these tools are secure, it's just cp'ing and writing to
> non-sensitive files.
>
> Are
doug writes:
> If you make a program a shell AFAIK to escape is to logff. Bash has a
> chroot like facility that might work. However if you write a simple C
> program as a wrapper for your shell script and make that program a
> shell, I would think that is pretty secure.
As long as you don't cal
On Thu, Nov 18, 2010 at 8:52 AM, Julian Fagir wrote:
> Hi,
>
> I'm planning a service with a login-user-interface. Thus, I want to
> restrict
> the user somehow to this script and to do nothing else.
>
> The straight-forward way would be to write this script, have all input
> parsed
> by read and
On Thu, 18 Nov 2010, Julian Fagir wrote:
Hi,
I'm planning a service with a login-user-interface. Thus, I want to restrict
the user somehow to this script and to do nothing else.
The straight-forward way would be to write this script, have all input parsed
by read and then let the script act ac
Julian Fagir wrote:
Hi,
I'm planning a service with a login-user-interface. Thus, I want to restrict
the user somehow to this script and to do nothing else.
The straight-forward way would be to write this script, have all input parsed
by read and then let the script act according to this input
owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org
Sent: Thu Nov 18 07:52:39 2010
Subject: Escaping from shell-scripts
Hi,
I'm planning a service with a login-user-interface. Thus, I want to restrict
the user somehow to this script and to do nothing else.
The straight-forw
Hi,
I'm planning a service with a login-user-interface. Thus, I want to restrict
the user somehow to this script and to do nothing else.
The straight-forward way would be to write this script, have all input parsed
by read and then let the script act according to this input (let's assume
that the