Hi Bob,
It sounds like you are trying to use a package installation in order
to do system configuration.
basically, to set up the software and all the system configuration
around it, yes.
That can work. It seems seductive. I
used to do it that way too. But after having done it that way I
Hi all,
I've done some RTFM, but can't yet find where the helper
scripts to use in maintainer scripts (preinst/postrm/..) are
described.
How does one automate the following in the preinst scripts,
for instance :
1. create a user *and* set their password
2. ssh-keygen with no user input (Enter
On Wed, Aug 22, 2012 at 02:54:44PM +0200, David Cho-Lerat wrote:
Hi all,
I've done some RTFM, but can't yet find where the helper
scripts to use in maintainer scripts (preinst/postrm/..) are
described.
How does one automate the following in the preinst scripts,
for instance :
1.
Thanks a lot for your answers.
I know this looks ugly, but don't worry it's not really meant for Debian,
I'm working on our of our company's packages ;)
that doesn't
sound like a great idea. What are you doing?
well actually the package will install some software that has to be run by
a
Hi
On Wed, Aug 22, 2012 at 01:54:44PM +0100, David Cho-Lerat wrote:
Hi all,
I've done some RTFM, but can't yet find where the helper
scripts to use in maintainer scripts (preinst/postrm/..) are
described.
How does one automate the following in the preinst scripts,
for instance :
On Wed, Aug 22, 2012 at 02:20:35PM +0100, David Cho-Lerat wrote:
Thanks a lot for your answers.
I know this looks ugly, but don't worry it's not really meant for Debian,
I'm working on our of our company's packages ;)
that doesn't
sound like a great idea. What are you doing?
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
On Wed, Aug 22, 2012 at 02:54:44PM +0200, David Cho-Lerat wrote:
3. add/edit some MySQL tables without knowing the MySQL root password
I've fooled around with Expect for 1. and 2., and tried
mysqld_safe --skip-grant-tables for 3., but I feel
lame (and I have to have my preinst script
Hi Karl, thanks for your answers
Pre-inst? It is quite uncommon do need to do much in the
PRE-installation script. Most things end up in the post-installation
scripts - e.g. many of the existing packages which create users do so
in their post-installation scripts.
yes I suppose what is
Hi David,
Hi Denis
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
see, that's the thing : the Admins of the application set up by this
package don't have an account
Le 22/08/2012 15:42, Roger Leigh a écrit :
On Wed, Aug 22, 2012 at 02:54:44PM +0200, David Cho-Lerat wrote:
3. add/edit some MySQL tables without knowing the MySQL root password
I've fooled around with Expect for 1. and 2., and tried
mysqld_safe --skip-grant-tables for 3., but I feel
lame
David Cho-Lerat wrote:
I've done some RTFM, but can't yet find where the helper
scripts to use in maintainer scripts (preinst/postrm/..) are
described.
How does one automate the following in the preinst scripts,
for instance :
It sounds like you are trying to use a package installation in
12 matches
Mail list logo