Gentoo Archives: gentoo-security

From: "H. Streit" <hstreit@××××.edu>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] Prevent users to login directly
Date: Tue, 27 Jul 2004 23:41:06
Message-Id: 4106E79B.6000202@swri.edu
In Reply to: Re: [gentoo-security] Prevent users to login directly by John Servo
1 Regarding "su - emerge" vs. "su emerge"
2 You'll only need to "su -" if the "emerge" user has a home folder and
3 custom account settings (like it's own .bashrc or .bash_profile),
4 otherwise a straight "su emerge" will switch users, but keep all of
5 your enviro vars and other such settings.
6
7 John Servo wrote:
8 > add a giant password to the user with "mkpasswd <insert giant random
9 > characters or a passage from a book or something>" so that cracking is
10 > out of the question?
11 >
12 > and by the way you dont need the -, it's just "su emerge"
13 >
14 > On Wed, 2004-07-28 at 00:12, Robert Ullrich wrote:
15 >
16 >>Hi all,
17 >>
18 >>for the whole emerge-action I created a user "emerge" to keep me from
19 >>su-ing to "root". Now I want to prevent this user to login directly into the
20 >>system. Instead of that the only way to login should be a "su - emerge".
21 >>What could I do?
22 >>
23 >>regards - Rob
24 >>
25 >>--
26 >>gentoo-security@g.o mailing list
27 >
28 >
29
30 --
31 gentoo-security@g.o mailing list

Replies

Subject Author
Re: [gentoo-security] Prevent users to login directly Robert Ullrich <roul76@×××.de>