Skip to Content.
Sympa Menu

cat-users - Re: [cat-users] Script problem on Linux.

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

Re: [cat-users] Script problem on Linux.


Chronological Thread 
  • From: Tomasz Wolniewicz <twoln AT umk.pl>
  • To: Vincent LOUPIEN <vincent.loupien AT upmf-grenoble.fr>
  • Cc: "cat-users AT geant.net" <cat-users AT geant.net>
  • Subject: Re: [cat-users] Script problem on Linux.
  • Date: Tue, 11 Feb 2014 20:42:35 +0100
  • List-archive: <http://mail.geant.net/pipermail/cat-users/>
  • List-id: "The mailing list for users of the eduroam Configuration Assistant Tool \(CAT\)" <cat-users.geant.net>

Thank you for reporting,
I guess I never tested this with root access rights. The script is meant to
run as ordynarny user and it uses home directory of the user to store some
data. I will do some testing to see what happens.

Tomasz


-----
Tomasz Wolniewicz

Dnia 11 lut 2014 o godz. 17:40 Vincent LOUPIEN
<vincent.loupien AT upmf-grenoble.fr>
napisał(a):

> Hello CAT,
>
> I have a problem running up to you on the configuration script generated by
> CAT for Linux systems (and may be a solution).
>
> When running with the equivalent to the root rights (sudo) or as root
> (sudo-s) eduroam-linux-xxxx.sh script, the course runs in a loop on the
> question "Yes / No" of belonging to the univercity xxxx. If I answer "No",
> we go out of the execution of the script (which is normal). If I answer
> "Yes", we always come back to the same question (which is problematic).
>
> Taking a look at the code and reversing two lines, it seems to solve the
> problem but it might not be the ideal modification :
>
> line 72 in the function ask {
> if [$ 3 == "0"]; Then
> $ def = no
> else
> $ def = yes
> fi
>
> Are this the right solution?
>
> Regards,
>
> NB: tests realised on Ubuntu 12.04.4 LTS (up to date).
>
> --
>
> <Vincent LOUPIEN.vcf>





Archive powered by MHonArc 2.6.19.

Top of Page