|
|
Choosing A Webhost: |
Re: packages which add user accounts: is fedora-usermgmt the way?: msg#00051linux.redhat.fedora.extras.packaging
steve@xxxxxxxxx (Steven Pritchard) writes: >> rpm does not offer a way to determine whether a package creates an user >> or not. So the 'just add an ... user before installing' requires lot of >> manual work, > > $ rpm -qp --requires openvpn-2.0-2.x86_64.rpm | grep useradd > /usr/sbin/useradd > $ rpm -qp --scripts openvpn-2.0-2.x86_64.rpm > preinstall scriptlet (using /bin/sh): > if ! id openvpn > /dev/null 2>&1 ; then > /usr/sbin/useradd -r -s /sbin/nologin -c OpenVPN -d /etc/openvpn openvpn > fi > [...] And now: do this for a 'yum install ...' transaction which lists 100 new packages and tell me all new users inclusive information like homedir, shell and gecos... Or for a nightly 'yum upgrade' operation which adds new packages because of changed dependencies. Enrico
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: packages which add user accounts: is fedora-usermgmt the way?, Matthew Miller |
|---|---|
| Next by Date: | Re: packages which add user accounts: is fedora-usermgmt the way?, Enrico Scholz |
| Previous by Thread: | Re: packages which add user accounts: is fedora-usermgmt the way?, Steven Pritchard |
| Next by Thread: | Re: packages which add user accounts: is fedora-usermgmt the way?, Nicolas Mailhot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |