Re: Disable login at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>anything you want running automatically, put it in a service script in /etc/rc.d/init.d and symlinked to appropriate run level directories via chkconfig servicename on
>
>or put it in /etc/rc.local although that method is rather deprecated.

I guess I'm an artifact :)

I use /etc/rc.local.<machinename> and chkconfig level 99 to start my "local" scripts... Guess some old habits don't die very well :)

As far as local logins, yes don't disable it and use a strong password.

For remote logins, I use 4096 bit encryption, disable root and password logins and use 4096 bit rsa_keys to login as a local user. Then su to root to do what I need to. I love looking at the logs and seeing the foolish saps who keep trying brute force password attacks :)

For backups I use rsync and give the local user su rights to it.

Hopefully some of this helps...

Richard


---
Richard Zimmerman
Systems / Network Administrator
River Bend Hose Specialty, Inc.
1111 S Main Street
South Bend, IN   46601-3337
(574) 233-1133
(574) 280-7284 Fax

-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux