[LPIC-1]Administrative Tasks 23

What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

A. The user bob is removed from the system's user database.
B. The user bob's home directory is removed.
C. The locate database is updated to drop files owned by bob.
D. All files owned by bob are remove from all mounted filesystems.
E. In case bob was the last member of a group, that group is deleted.

題解

「userdel」指令可以刪除使用者。「--force」參數可以強制移除不屬於該使用者的檔案,「--remove」參數可以移除使用者的家目錄和信箱。選項A和選項B是正確的

關於作者

Magic Len

各位好,我是Magic Len,是這網站的管理員。我是台灣台中大肚山上人,畢業於台中高工資訊科和台灣科技大學資訊工程系,曾在桃機航警局服役。我熱愛自然也熱愛科學,喜歡和別人分享自己的知識與經驗。如果你有興趣認識我,可以加我的Facebook,並且請註明是從MagicLen來的。

相關文章