[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Shell Script on Debian

On Fri, Jun 27, 2008 at 11:42:53AM +0200, Lo?c Minier wrote:
>  (Not quite sure how this relates to arm.)
> On Fri, Jun 27, 2008, ApOgEE wrote:
> > set password [lindex \$argv 1]
>  The command line might be visible by all users of the system, unless
>  you use some locked down kernel, so I wouldn't pass the password on the
>  command line.

The environment could be viewed too.  A pipe should be OK I think.
Tricky to do in bash, but something like perl should able to do it,
which is at least how the debian installer used to manage to set
passwords in base-config in the past.

Len Sorensen

Reply to: