Linux Modify boot order, prompt after login, boot level

Source: Internet
Author: User

Modify the boot order

# Vim/etc/inittab

。。。。。。。

D:3:initdefault: #找到这一行, D:3:initdefault: Minimized startup d:5:initdefault: Graphical interface Startup

#去掉开机等待的5s

Vi/boot/grub/menu.lst

Timeout=5 #设置开机选项描述, default is 5 seconds

To set a message after a successful login

The/ETC/MOTD file sets the prompt message after successful login, and by default, there is no content in this file.
After successful login, all contents of the/ETC/MOTD file are displayed immediately and then enter Shell mode.

Modify Host Name

Two places need to be modified: one is/etc/sysconfig/network and the other is/etc/hosts

# uname-n View Current user name

/etc/hosts can maintain IP for multiple hosts in a virtual machine

Linux Modify boot order, prompt after login, boot level

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.