Lập Trình Linux

Linux – Add, Delete and Modify Users (adduser, deluser, passwd, chfn)




Find code and diagrams at:

Managing Users on Linux systems is very easy.

Add Users

sudo adduser username – adds users
Additional profile information is not required, but a comment is a good idea.
Delete Users

sudo deluser username – deletes the user, but not the profile folder
sudo rm -rf /home/username – deletes profile folder
User Account File

vim /etc/passwd – allows you to view the user account file
Changing Passwords

passwd – changes your pasword
sudo passwd username – changes password for another account
Change User Profiles

sudo chfn username – changes profile information for user accounts.
Locking Accounts and Other Tasks

sudo usermod -option username – allows you make some additional changes to user account abilities such as locking and unlocking accounts.

Nguồn: https://ftlinuxcourse.com

Xem thêm bài viết khác: https://ftlinuxcourse.com/lap-trinh-linux

Phim
5 Anh Em Siêu Nhân Thần Kiếm Tiêu Diệt Ác Quỷ Đọc Suy Nghĩ | Siêu Nhân Mới Nhất 2020
Lập Trình Linux
Lập trình NodeJS căn bản – Bài 13 Nodemon
Tin HOT
Highlight | Lao Toyota vs TP Hồ Chí Minh | AFC Cup 2020 | Công Phượng Xuất Sắc, Xuân Nam Lập Cú Đúp
  • 35 days!!!!


  • 4:05 – Add User
    12:53 – Change Password
    17:40 – usermod command
    19:30 – Delete User


  • Eh man greeting from the great white north have you heard of a fix for the Arduino ide on Ubuntu ? There seems to be permission issues that can’t be changed ?


  • Great video! Could you please make a tutorial of crontab please?


  • Hello ELI , I have subscribed to your channel because I saw you bickering with my favorite Louis Rossmann channel !!! I instantly liked you and I’d like to watch your videos !!! NOW I HAVE TWO favorite computer guys !!! So from all the way in Puerto Rico 🇵🇷, I’m saying hello 👋 !!! God Bless !!! 👍👍👍❤️❤️❤️💋💋💋😘😘😘😍😍😍🥰🥰🥰💗💗💗💕💕💕💝💝💝🤗🤗🤗😊😊😊😃😃😃


  • You’re amazing. We can literally watch your videos and learn enough to go get a six figures job and get started in the industry! Who gives away so much value? Thank you!


  • bigger and bolder fonts please


  • linux lessons on mac … the irony


  • YYYEEEEEEEESSSSS!!!!! THE E MAN IS BACK!!!!!!!! Thank you Eli!!! AWESOME lecture please keep making more..


  • D MCD MC

    Author Reply

    27 minutes about linux user with ELI > any boring Linux book change my mind.


  • Thx Eli busy with the pi headless because of these videos.


  • This is great!, I have always had problems adding or changing names of users in Linux.


  • Eli i want to watch all your videos how do I do they all 30 min long ! Heres the deal why dont you make markers in the introduction ? That would be amazing


  • Eli at his best! Thank you.


  • nn


  • Thank you so much for the great video, keep up and THUMBS UP UP UP


  • Glad your back to it Eli 😝


  • hmmm
    when is found
    this i was
    watching other yter about
    this
    subject called
    liveoverflow but im subbbed to this channel so why not