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

Re: help with packaging (preinst scripts)



On 22.08.2012 15:20, David Cho-Lerat wrote:

well actually the package will install some software that has to be run by
a specific user, and this user has to have a password so that some
admins can log into the account for specific tasks, but not every user
of the system.

Hi David,

you can create the user as shown in the exim example. The Admins can login with their normal users (or as root) and can "su" to the user:

su - yourusername --shell=/bin/bash

Regarding the SQL-Stuff. Just ask the user for the MySQL-Root-Password (and maybe the database name, and what to do if it already exists). I have no idea how to manage that, but it's possible and you can take a look at the phpmyadmin-Package how it works.

Bye.


Reply to: