[Comm-en] ALT Server 4.0 - Preventing Root Log-ins

Michael Shigorin mike at osdn.org.ua
Tue Mar 2 07:34:38 UTC 2010


On Mon, Mar 01, 2010 at 08:05:44PM -0600, Virtual Sky wrote:
> How difficult would it be to configure my ALT Server 4.0 box to
> disallow 'root' user log-ins and only allow a regular user
> log-in and then 'su' to the root account?

I'd do something like this to invalidate root password:

cp -a /etc/tcb/root/shadow /etc/tcb/root/shadow-
echo 'root:x:14029::::::' > /etc/tcb/root/shadow

> If easy enough to configure, how does this affect the web
> browser configurator interface?  Can you specify a regular user
> as the "administrator" to log in via the web interface?

AFAIR no.

-- 
 ---- WBR, Michael Shigorin <mike at altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


More information about the community-en mailing list