RHEL7: Configure systems to boot into a specific target automatically.

Share this link

Note: This is an RHCSA 7 exam objective.

To configure a system to boot into multi-user level without graphical interface, type:

# systemctl set-default multi-user.target

To configure a system to boot into multi-user level with graphical interface, type:

# systemctl set-default graphical.target

To check the current configuration, type:

# systemctl get-default
multi-user.target
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

2
Leave a Reply

Please Login to comment
1 Comment threads
1 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
CertDepottwostep Recent comment authors
  Subscribe  
newest oldest
Notify of
twostep
Member
twostep

To find available targets to which you can set,
1. install bash-completion package
2. logout and login
3. execute systemctl set-default
Cheers 🙂

RHCSA7: Task of the day

Allowed time: 5 minutes.
Create two users "tom" and "engine". "tom" has the UID/GID 3000 and "engine" the UID/GID 4000. "engine" doesn't have an interactive shell.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a default secure MariaDB database called maria with a user named muser with all privileges.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...