Re: storing root password rpm spec file

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

 



On Wed, Dec 20, 2006 at 10:35:51 +0100,
  Manuel Arostegui <manuel@xxxxxxxxxxxxxx> wrote:
> 
> As all of you could imagine to run the sql you must be root, so, I have no idea about how to ask
> for the root password when rpm -i foo.rpm is done.

That seems unlikely. You may need to run as a privileged user for the database,
but it shouldn't be root.

> I mean, I would like to store the root password (I´ve been thinking that could be done with
> "expect") to use it with later, so then, the application will be installed and the databases will
> be set up correctly, cause I don´t want users to install the rpm and after that run by hand the
> sql file.
> 
> Any ideas of what to do with the spec file?

Are you also installing the database in this package or is that going to
be a prerequisite? What database(s) are you using?

Postgres, for example, provides other methods of authentication that don't
require entering a password. If you were installing a custom version of
Postgres you could set up pg_hba.conf so that a system user could connect
as a privileged postgres user using say, ident authentication.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux