configs
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| configs [2020/04/17 13:49] – [Kali: root] gregkedro | configs [2020/04/17 16:49] (actual) – gregkedro | ||
|---|---|---|---|
| Línea 368: | Línea 368: | ||
| **Debian Method** (as root): | **Debian Method** (as root): | ||
| < | < | ||
| - | / | + | / |
| - | / | + | / |
| - | / | + | / |
| systemctl restart networking | systemctl restart networking | ||
| systemctl status network | systemctl status network | ||
| </ | </ | ||
| + | |||
| + | ===== ifupdown vs. ifconfig ===== | ||
| + | |||
| + | **Debian, overview:** | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | **The** '' | ||
| + | * The '' | ||
| + | * Example: bring up the network with '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | **The** '' | ||
| + | * An '' | ||
| + | * An '' | ||
| ===== ip command ===== | ===== ip command ===== | ||
| Línea 380: | Línea 397: | ||
| **Usage of the** '' | **Usage of the** '' | ||
| * If your distro did not install ifconfig, you can install it in Debian with '' | * If your distro did not install ifconfig, you can install it in Debian with '' | ||
| - | * Or you can use the horridly ugly syntax for '' | + | * Or you can use the horridly ugly syntax for '' |
| * From the following example you will need to replace the IP and the interface with your own. | * From the following example you will need to replace the IP and the interface with your own. | ||
| Línea 399: | Línea 416: | ||
| </ | </ | ||
| - | Note: This will only set up your network for your current work session. You'll lose it on reboot. | + | **Note on Persistence:** This will only set up your network for your current work session. You'll lose it on reboot. |
| + | * '' | ||
| + | |||
| + | < | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| ---- | ---- | ||
| Línea 407: | Línea 431: | ||
| Kali made the spectacular decision to [[https:// | Kali made the spectacular decision to [[https:// | ||
| * When you install Kali Linux, you’ll be asked to create non-root user that will have admin privileges. Tools and commands that require root access will be run with sudo. | * When you install Kali Linux, you’ll be asked to create non-root user that will have admin privileges. Tools and commands that require root access will be run with sudo. | ||
| + | * So you have to type sudu... sudo... sudo... sudo... (really, guys??). | ||
| - | I hate sudo. To use Kali now out of the box, you have to sudu... sudo... sudo... sudo... | + | To configure password-less root rights for your normal user (but you still have no access to applications that are only in root's PATH): |
| - | + | ||
| - | To configure password-less root rights for your normal user (but you still lose the applications that are only in root's PATH): | + | |
| < | < | ||
| Línea 417: | Línea 440: | ||
| </ | </ | ||
| - | Or, to simply unlock | + | Better: Unlock |
| < | < | ||
| Línea 424: | Línea 447: | ||
| </ | </ | ||
| - | Ah... happiness again in the land of hacker penguins... | + | Ah... happiness again in the land of hacker |
| ---- | ---- | ||
configs.1587131372.txt.gz · Última modificación: por gregkedro
