Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Uživatelský manuál Strana 236

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 300
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 235
224 You Are Here
Now that youre starting to get the hang of changing directories, see what happens when you change
to roots login directory.
cd /root
Oops... Youre not logged in as root, so youre denied permissionto access that directory.
Denying access to the root and other users accounts (or login directories)isonewayyourLinux
system prevents accidental or malicious tampering. Youll nd out more about le ownershipand
permissions later in this chapter.
Really want to change to the root login? Then youve got to use the su command. Type this series of
commands:
[billy@localhost billy]$ su root
Password: (your root password)
[root@localhost billy]# cd /root
[root@localhost /root]#
As soon as you give the root password, youll see the changes in your command prompt to show
your new, superuser status: the root account designation at the front of the prompt and # at the end
(as shown in Figure 16.4).
Figure 16.4: Becoming root
Now, when you cd to roots login directory, youll be granted access.
Zobrazit stránku 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 299 300

Komentáře k této Příručce

Žádné komentáře