From: Mat Harris Subject: Re: lpd user woes Date: Tue, 11 Feb 2003 13:26:19 +0000 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030211132619.GA31839@genestate.com> References: <20030211103446.GA30267@genestate.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Return-path: Content-Disposition: inline In-Reply-To: List-Id: To: John Hallam Cc: linux-admin@vger.kernel.org --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 11, 2003 at 01:22:10 +0000, John Hallam wrote: > Does it happen if you do `su lp' as root and then execute the code > that the lp user tries to execute? It might be that the environment (PATH > variable etc.) presented by lpd to its sub-processes is missing some vital > piece of information... if i do `su - lp` it does exactly the same btw, the code i run for testing is `cat test.mp3 | mpg123 -` > You could give the lp user group access to the sound device, by > changing the ownership and permissions on the sound device or by changing > the group membership possibilities for lp in /etc/groups. Either of these > may have other consequences. i have changed /etc/passwd so the group for lp is 0 and changed /etc/groups so lp is a member of root but i still have to same problem. --=20 Mat Harris OpenGPG Public Key ID: C37D57D9 mat.harris@genestate.com www.genestate.com=09 --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+SPn7EsYvZsN9V9kRAtNxAJ9INjVuht0cB/UiinIEPwNSWKWHVgCglbRs STHfhuKrqTOD57Rimesw/ns= =CsQN -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--