You are on page 1of 4

1.What is desktop ?

Answer:

The desktop is the entire area one the screen except for the bar at the bottom.
OR
All environment of desktop known as desktop.
Such as a icons , taskbar , start menu , and more icons in the desktop.

2.What is GNOME and KDE ?

Answer:

GNOME and KDE desktops are both Linux Desktop environment a desktop

environment is a bundle of programs running on top of an operating system.


3.How to switching from Desktop environments?

Answer:

Fedora Core comes with both GNOME and KDE installed, and GNOME is the default environment. If you
want to switch from GNOME to KDE,

click Main Menu---> Preferences--->More preferences---> Desktop---> Switching Tool

--->select GNOME or KDE--->Ok.

4.How to create a new user and how to change a user password?

Answer:

To Create a New User


# useradd -c “My Example User” username

# passwd username

Change the User’s Password


To change a user’s password:
# passwd username

5.How add user to group and remove from group in linuxconf?

Answer:
Add a User to a Group:
Usermod is used to modify a user account’s settings. Check the manpage for all the available
options. One useful use of this command is to add a user to a group:
# usermod -a -G group1 username

Remove a User from a Group


Removing a user from a group is a bit trickier. Unfortunately, there is no direct command, at least not in
Fedora or RHEL, that can do that from command line. At first you need to get a list of groups that your
user is a member of:
# id -nG username group1 group2 group3 ....
Then you need to put all these groups as a comma-separated list to the usermod -G option, except for
the group from which you want the user to be removed. So, to remove the user from group2,

issue the command:


# usermod -G group1,group3,... username

6.How many interfaces we have in linuxconf describe them ?

Answer:

Linuxconf has four user interfaces:

1. Text-based:

Using the same user interface style as the Red Hat Linux text-mode installation program, the text-based
interface makes it easy to navigate your way through Linuxconf if you aren’t running X. If you are
running X, you can switch to a virtual console, log in as root, and type linuxconf to bring up text-mode
Linuxconf.

2. Graphical User Interface (GUI):

Linuxconf can take advantage of the X Window System. Red Hat Linux includes a GUI interface for
Linuxconf called gnome-linuxconf.

3. Web-based:

A Web-based interface makes remote system administration easy; it can also be displayed with the Lynx
text-mode browser.to use the Linuxconf Web interface, use your browser to connect to port 98 on the
machine running Linuxconf (i.e., http://your_machine:98)

4. Command line:

Linuxconf’s command-line mode is handy for manipulating your system’s configuration in scripts.
7.How to lock and unlock user account in Linux?

Answer:

#usermod -L username

To unlock the user:

# usermod -U username

8.How to delete a user?

Answer:

# userdel -r username

9.How to create new group and change a group’s name?

Answer:

To create a new group, issue the command:


# groupadd groupnam

11.What is root and how to change the root password?

Answer:

Root is a builtin user in linux like in windows we have Administrator .

Changing the Root Password


Because of the security implications of root access, Linuxconf requires you to verify that you
currently have access to the root account.

Open Config → Users accounts → Normal → Change root password.

12.How to disable user account?

Start Linuxconf by typing linuxconf at the shell prompt.


Open [Config] → [Users accounts] → [Normal] → [User accounts].
De-select the check-box that states that The account is enabled. Select the Accept
button at the bottom of the window and you’re all set.
13.How to enable user account?
By default, all newly created user accounts are enabled. If you need to enable an
account, you can use Linuxconf to do it.
Start Linuxconf by typing linuxconf at the shell prompt.
Open [Config] → [Users accounts] → [Normal] → [User accounts].
Select the account you want to enable.
Select the account is enabled check-box and then select Accept at the bottom of the
screen.

You might also like