[FUG-BR] senha root
Como fazer para impedir que um usuário acesse um servidor em single user e altere a senha de root??? ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Re: [FUG-BR] senha root
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 no /etc/ttys trocar console noneunknown off secure para console noneunknown off insecure Gusmão wrote: Como fazer para impedir que um usuário acesse um servidor em single user e altere a senha de root??? ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC6nt7UTDcFF4aUYMRApcCAKDgiAOWFwOAfpauhVgpRoQ7UoA4FwCbB+Qz GDRcqMLx3KLY8jG4saZ/cZ4= =BwIF -END PGP SIGNATURE- ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Re: [FUG-BR] senha root
# vi /etc/tty e substitue nesta linha secure por insecure console none unknown off insecure On 7/29/05, Gusmão [EMAIL PROTECTED] wrote: Como fazer para impedir que um usuário acesse um servidor em single user e altere a senha de root??? ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br -- Gustavo Fukao Engenharia da Computacao CEL: 14 9725 7095 FreeBSD user: 51175 ICQ: 51266435 MSN: gustavofukao[at]hotmail.com http://www.freebsd-br.cjb.net ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Re: [FUG-BR] senha root
Edita o /etc/ttys, na linha escrito console. muda de secure para insecure. ;-) On 7/29/05, Gusmão [EMAIL PROTECTED] wrote: Como fazer para impedir que um usuário acesse um servidor em single user e altere a senha de root??? ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Re: [FUG-BR] senha root
essa todo mundo sabia, hehehe On 7/29/05, Pablo Sánchez [EMAIL PROTECTED] wrote: Edita o /etc/ttys, na linha escrito console. muda de secure para insecure. ;-) On 7/29/05, Gusmão [EMAIL PROTECTED] wrote: Como fazer para impedir que um usuário acesse um servidor em single user e altere a senha de root??? ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Re: [FUG-BR] senha root
Gusmão wrote: Como fazer para impedir que um usuário acesse um servidor em single user e altere a senha de root??? Uma referência sobre o assunto: [1] 3.2.5 Single User Mode Console http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html A detailed description of what “single user mode” is can be found in Section 12.6.2. It is worth noting that there is only one console when you are running FreeBSD in single user mode. There are no virtual consoles available. The settings of the single user mode console can also be found in the /etc/ttys file. Look for the line that starts with console: # name getty type status comments # # If console is marked insecure, then init will ask for the root password # when going to single-user mode. console none unknown off secure Note: As the comments above the console line indicate, you can edit this line and change secure to insecure. If you do that, when FreeBSD boots into single user mode, it will still ask for the root password. Be careful when changing this to insecure. If you ever forget the root password, booting into single user mode is a bit involved. It is still possible, but it might be a bit hard for someone who is not very comfortable with the FreeBSD booting process and the programs involved. ___ Freebsd mailing list Freebsd@fug.com.br http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br