Tuesday, December 28, 2004

Hey! Silly Question Answers

1) How can I change colors of display of ls command ?
Edit /etc/DIR_COLORS

2) Where to set permission for console, floppy CDROM, Scanner etc. ?
Edit /etc/security/consol e.perms

3) How to Change messages on top of login screen ?
edit /etc/security/issue
edit /etc/security/issue- net

4) How to put customised message while system boots up ?
edit /etc/security/redhat -release

5) How do i display a message on the screen after a user logs into his account ?
edit /etc/motd

6) Where do I set packet forwarding feature
edit /etc/sysctl.conf

7) How do i set default route ?
route add default gw 192.168.0.1

8) How do i add a network to route ?
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.1

9) How do i add a device
route add -net 192.168.1.0 netmask 255.255.255.0 eth0

10) How do i set default password controls like password aging.
edit /etc/login.defs

No comments: