-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27-Sep-2002/07:54 -0700, truc nguyen <[EMAIL PROTECTED]> wrote:
>How would I turn on IP forwarding from the command 
>line? 

  echo 1 > /proc/sys/net/ipv4/ip_forward

Then edit /etc/sysctl.conf to set "net.ipv4.ip_forward = 1".

>What is a filename used to keep someone from logging
>in as super user? 

What exactly are you trying to prevent?

                    ****Do not do this!****
    You can disable the root account by replacing the password
    in /etc/shadow with "!!". Then no one can login as root or
    use "su" to switch to root.
                    ****Do not do this!****

You can disable root logins on specific terminals by editing
/etc/securetty. That file is a list of terminals where root is allowed to
login.

You can change the root password and no give it to the user that you
want to restrict.

You can use sudo and give specific superuser privileges to specific
users.

Tony
- -- 
Anthony E. Greene <mailto:[EMAIL PROTECTED]>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05      HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene 0x6C94239D <[EMAIL PROTECTED]>

iD8DBQE9lJtUpCpg3WyUI50RApHoAKDhd4hPb6+b9txEtXeE/No/UFJIsQCg39s1
WK5XmriuflFsW0poQ5DCJYw=
=0doh
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to