New answers tagged

3

A potential intruder could reboot into single user mode if they had physical access. Physical security is just as important as software security. That is why schools lock out USB drives and the BIOS. You have to lock it down. In /etc/default/grub you can uncomment the following line GRUB_DISABLE_RECOVERY="true" And poof! Single User mode is now gone.


3

Several reasons: one, you have to have physical access to the servers, and most employees don't want to lose their jobs by getting caught on CCTV video breaking into systems. Then, you have some companies that implement BIOS / boot passwords or boot loader passwords. Sometimes, the "single user" option requires a password (if set up properly ahead of time), ...


0

I am using an installer which is adding entry of environment variable in bash_profile file, when i am starting jetty server, it was unable to find that entry..when i run source ~/.bash_profile it rerlaods the bash profle and server starts succesfully without any issues..The problem is customer is not going to start a new session nor he is going to manually ...


1

I'm guessing: sudo sh -c 'vbetool dpms off; read ans; vbetool dpms on' As the following thread suggests.


3

It is the kernel itself who is flooding your console. You need to lower loglevel for consoles: sudo dmesg -n 1. The system may have a setting for this (including bootloader one). Otherwise to make this permanent, you need to add this to your /etc/rc.local. Note that this affects only postboot behavior of console, to shut off it from boot time, you need to ...


2

The VNC server is an X window server and it does not serve the text consoles. So, even if you send the Ctrl-Alt-F1 combination (there are options at the viewers menu to send some special key combinations), it will not be treated as you expect. Use an ssh or other kind of terminal connection to get terminal access.


0

The simplest solution I found was to edit /etc/default/console-setup to set FONT="Lat7-Terminus32x16.psf.gz" and comment out everything else except the ACTIVE_CONSOLES line. You can apply this immediately with setupcon, and it will be applied after rebooting as well. Specifying the font name rather than the individual components works around the naming ...


0

man console_codes lists the escape sequences recognised by the console. You can set a timeout of 0 with sudo sh -c 'echo -e "\033[9;0]" >/dev/console'


1

TERM, by convention refers to a terminal description. Originally this named a section of a termcap text-file (starting in the late 1970s). In the mid-1980s, terminfo was introduced as a compiled (binary) file which saved time when obtaining the terminal description. While both are available for all Unix-like platforms, termcap is rarely used today except ...


0

For those who manage to connect via SSH after finding out the IP using arp -an on the host, you can perform the following steps (taken from the bottom of this page) once you are connected to the guest. Edit the grub configuration file: sudo vim /etc/default/grub Add the text console=ttyS0 to the GRUB_CMDLINE_LINUX_DEFAULT parameter as shown below: ...


0

Agreeing that it would be nice if the two sets of configurations were integrated together, there are two reasons why they are different: they evolved separately (and no one has proposed an integrated solution which satisfies the requirements of both), and they have different requirements. The Linux virtual consoles provide a terminal interface which ...



Top 50 recent answers are included