Giter VIP home page Giter VIP logo

alternc-nss's Introduction

AlternC: Web and Email Hosting Software Suite

AlternC is a software helping system administrators to handle Web and Email services management. It should be easy to install, based only on free software.

This software consist of an automatic install and configuration system, a web control panel to manage hosted users and their web services such as domains, email accounts, ftp accounts, web statistics...

Technically, AlternC is based on Debian GNU/Linux distribution and it depends on other software such as Apache, Postfix, Dovecot, Mailman (...). It also contains an API documentation so that users can easily customize their web desktop.

This project native language is French, and the code is commented in English. The packages are available at least in French and English, German and Spanish interfaces are usually available too.

Installation

To install AlternC, please follow our install documentation

Pour installer AlternC, merci de suivre la documentation d'installation

Upgrading from AlternC 3.[1,2,3].11 or earlier

The recommended process for upgrading is to upgrade to 3.3.12 before upgrading to 3.5. If you choose to upgrade directly to 3.5 from an earlier version, please read this information as there is a risk of a loss of data.

AlternC >= 3.5 removes integrates alternc-ssl and alternc-admintools in the the core AlternC package.

As a result, both alternc-ssl and alternc-admintools will be removed during installation. When alternc-ssl is removed, it will mark many of the sub domain types suffixed with '-ssl' and '-mixssl' for deletion.

To safely upgrade between these versions:

  • Backup your AlternC database
  • Stop the cron service: /etc/init.d/cron stop
  • Install alternc (>= 3.5)
  • Run the following queries against the alternc database (here, it's called "alternc"):
mysql alternc -e 'update sub_domaines set web_action = "OK" where type like "%-mixssl";'
mysql alternc -e 'update sub_domaines set web_action = "OK" where type like "%-ssl";'
  • Run alternc.install
  • Start the cron service again: /etc/init.d/cron start

Developper information

  • This software is built around a Debian package for Stretch whose packaging instructions are located in debian/ folder (this package can be installed on Jessie safely too)

  • To build the packages, clone this repository in a Debian machine and use debuild or dpkg-buildpackage from source code root.

  • The web control panel pages written in PHP are located in bureau/admin and the associated PHP classes doing the stuff are in bureau/class.

Nightly build

We have 1 nightly build repositories:

and 3 nightly from former Debian releases (now unmaintained)

To use one of them, create a file named /etc/apt/sources.list.d/alternc-nightly-stable-3.5.list (for debian Jessie or Stretch) as follow :

 deb http://stable-3-5.nightly.alternc.org/ latest/

The repository and the packages are signed by the pgp key of AlternC nightly build user :

wget http://stable-3-5.nightly.alternc.org/nightly.key -O - | apt-key add -

License

AlternC code and translation are distributed under the GPL v2 or later license. See COPYING.

Note : AlternC's translations (po files) until 31 January 2024 was distributed under the Creative Commons CC0 license.

Don't participate to the code or translation if you don't agree to publish any contribution under that license.

alternc-nss's People

Contributors

camlafit avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

alternc-nss's Issues

Missing debian changelog file

Without an debian changelog file most debian tools refuse to build the package by default including dpkg-buildpackage and sbuild.

set home directory

Could be useful to set as home directory root login directory.
As this we can use script with a home requirement as git feature.

As use case, I've to run as cron a git pull with a ssh key.

Cron deny

To prevent some hack, we should deny by default cron execution.

Could be nice to add any alternc account in /etc/cron.deny
An option should be set to enable local cron service to a specific user.

Users conflicts

Users created under alternc are under /var/lib/extrausers/.
In nsswitch.conf though, it's looking first in /etc/{shadow,passwd,group}

The result of this is having conflicts between alternC users and existing users, leading to security problems.

Using alternc-php-fpm for instance, we can see processes under the right user but with the wrong uid.
Say you have your admin user in alternc (uid 2000) and an admin user with a uid 10440, here is what you get:
10440 5768 0.0 0.8 275752 18176 ? S 18:03 0:00 \_ php-fpm: pool admin

Add a prefix account to prevent conflict

as explained in #4 in some case we can have conflict with some normal accounts and alternc members.
To prevent this, could be interessting to provide a special prefix related to alternc account.
As this we can prevent any conflict user naming with a reserved prefix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.