Moxa TC-6110-CT-W7E [10/117] Logging in to the linux console

Moxa TC-6110-CT-W7E [10/117] Logging in to the linux console
TC-6110 Linux User's Manual Basic Platform Configuration
2-3
moxa@MOXA:~# sudo ifconfig eth0 192.168.100.100
After issuing this command, you will be prompted for the password of the user account currently used to log
in to the system. This will allow the command to be executed with root privileges.
moxa@Moxa:~# sudo ifconfig eth0 192.168.100.100
[sudo] password for moxa:
moxa@MOXA:~# sudo ifconfig eth0
[sudo] password for moxa:
eth0 Link encap:Ethernet HWaddr 00:90:e8:00:df:fe
inet addr:192.168.100.100 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:41 Base address:0xe000
When making extensive changes at the root level it is sometimes preferable to log in with full root access.
However, root has been disabled as a user on this computer. Thus, to gain root privileges as a default, use the
sudo –i command to log in as root.
moxa@Moxa:~# sudo –I
[sudo] password for moxa:
root@moxa@Moxa:~# sudo –i
Logging in to the Linux Console
Connect a display monitor to the TC-6110-LX VGA connector, and then power up the computer. It takes
approximately 30 to 60 seconds for the system to boot up from a cold start. Once the system is ready, a login
screen will appear on your monitor. To log in, type the user name and password as requested. As stated above,
the default values are both moxa.
Login: moxa
Password: moxa
Moxa login: moxa
Password:
Last login: Thu Sep 15 22:46:00 CST 2013 on tty1
Linux Moxa 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686
The programs included with the Debian GNU/Liux system are free software;
The exact distribution terms for each program are described in the
Individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
Permitted by applicable law.
moxa@Moxa:~#
ATTENTION
It is possible to access the console from multiple (virtual) terminals on the same machine, at the same time. To
switch between virtual terminals (called TTY processes, in Linux), press the
Ctrl
button and then indicate the
console you wish to switch to using butto
ns F1 through F7
. Any processes started while you are in one terminal
will continue running once you switch to another. Keep in mind that terminals which are left open
particularly
terminals which have root access
are security risks, so make sure you have
logged out of all terminals before
leaving a running system.

Содержание

Похожие устройства

Скачать