Ticket #998 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Errors on install

Reported by: anarcat Owned by: anonymous
Priority: immediate Milestone: alternc-0.9.6
Component: Package Debian Version: alternc-0.9.5
Severity: block Keywords:
Cc:

Description (last modified by anarcat) (diff)

Fresh install on a sarge:

Creating admin user...

/bin/chown: cannot access `\/var\/alternc\/html\/a\/admin': No such file or directory
/bin/chmod: cannot access `\/var\/alternc\/html\/a\/admin': No such file or directory
/usr/lib/alternc/quota_get.sh: line 1: awk: No such file or directory
/usr/lib/alternc/quota_get.sh: line 1: mount: No such file or directory
/usr/lib/alternc/quota_get.sh: line 1: sed: No such file or directory
/usr/lib/alternc/quota_get.sh: line 1: wc: No such file or directory
/usr/lib/alternc/quota_get.sh: line 17: [: : integer expression expected
/usr/lib/alternc/quota_get.sh: line 25: quota: No such file or directory
/usr/lib/alternc/quota_get.sh: line 25: awk: No such file or directory
/usr/lib/alternc/quota_get.sh: line 26: quota: No such file or directory
/usr/lib/alternc/quota_get.sh: line 26: awk: No such file or directory
*******************************************
*                                         *
*               Admin account             *
*               ------------              *
*                                         *
* user: admin             password: admin *
*                                         *
* Please change this as soon as possible! *
*                                         *
*******************************************

Change History

comment:1 Changed 7 years ago by anarcat

  • Description modified (diff)

comment:2 Changed 7 years ago by anarcat

l'usager est quand même créé.

comment:3 Changed 7 years ago by anarcat

(In [1744]) use absolute path otherwise this fails on install, see #998

comment:4 Changed 7 years ago by anarcat

(In [1745]) use same regexp for allowed usernames as in the php code (m_admin::add_mem())

do not quote_meta in shell command, since all variables are now considered safe

see #998 see #427

comment:5 Changed 7 years ago by anarcat

  • Status changed from new to closed
  • Resolution set to fixed

Réglé dans le [1748].

Note: See TracTickets for help on using tickets.