Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-security
Navigation:
Lists: gentoo-security: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Robert Ullrich <roul76@...>
From: Troy Farrell <troy@...>
Subject: Re: Prevent users to login directly
Date: Tue, 27 Jul 2004 22:35:18 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Ullrich wrote:
| Hi all,
|
| for the whole emerge-action I created a user "emerge" to keep me from
| su-ing to "root". Now I want to prevent this user to login directly
into the
| system. Instead of that the only way to login should be a "su - emerge".
| What could I do?
|
| regards - Rob

$ man passwd

~From the man page:

User  accounts  may  be  locked and unlocked with the -l and -u args.
The -l option disables an account by changing the password to a value
which matches no possible encrypted value. The -u option re-enables an
account by changing the password back to its previous value.

- --
And the glory of the LORD shall be revealed, and all flesh shall see it
together: for the mouth of the LORD hath spoken it.
Isaiah 40.5

0xD3BDCA53 http://tjf.us/public.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBBx72AykmMtO9ylMRAtKMAJ4le77uQaQGTvbFZ/hPquhjiuPKDACeItBA
4imtz7hg9/Fd70+cdo4DzcM=
=335P
-----END PGP SIGNATURE-----

--
gentoo-security@g.o mailing list

Replies:
Re: Prevent users to login directly
-- Robert Ullrich
References:
Prevent users to login directly
-- Robert Ullrich
Navigation:
Lists: gentoo-security: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Prevent users to login directly
Next by thread:
Re: Prevent users to login directly
Previous by date:
Re: new ssh worm?
Next by date:
Re: new ssh worm?


Updated Jun 17, 2009

Summary: Archive of the gentoo-security mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.