EADST

How to Change a User Password in Linux

Changing a user’s password in Linux is simple and efficient. Here’s how to do it:

1. Changing Your Own Password

To change your own password, run the passwd command:

passed
You'll be prompted to enter your current password, followed by your new password.

2. Changing Another User’s Password

If you’re a system administrator and need to change another user’s password, use:

sudo passwd username
Replace username with the actual user account. You’ll be prompted to enter the new password.

3. Changing the Root (Admin) Password

To change the root account password, run:

sudo passwd root

That’s it! Managing passwords in Linux is quick and secure with these commands.

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
NameSilo Use PDB ResNet-50 Dataset Quantization Hilton Claude CAM Streamlit 阿里云 SQLite Tracking transformers tqdm SPIE 多进程 Windows 签证 图形思考法 Mixtral hf Domain 域名 Datetime OpenAI News FP8 Clash GGML TensorRT SAM CV Bin ONNX 关于博主 Linux OCR Nginx PIP Logo logger EXCEL 搞笑 XGBoost Attention FP32 RGB 腾讯云 YOLO 论文速读 Plate Bipartite QWEN Input RAR Vim Gemma C++ Password Qwen scipy 云服务器 CC Anaconda DeepStream 公式 Disk Statistics Heatmap 证件照 InvalidArgumentError Baidu Michelin SQL Ubuntu Quantize Pillow WebCrawler Shortcut Bitcoin WAN mmap Numpy Distillation Review git-lfs HaggingFace Cloudreve Card 算法题 Paddle 多线程 Vmess CTC SVR Github FP16 版权 PyCharm MD5 FP64 Django PDF ms-swift Image2Text Python Color Template 图标 Interview Breakpoint GPTQ ModelScope COCO ChatGPT Google VSCode UI CUDA Conda Permission Crawler Web Magnet Math Random Tensor Animate Proxy TSV 音频 Video Markdown Base64 LoRA Freesound Zip NLP diffusers Jupyter LLM 论文 Paper Food Ptyhon IndexTTS2 Rebuttal LLAMA FlashAttention Pytorch FastAPI LeetCode Land Hotel Git Pandas Llama 继承 Excel Pickle TensorFlow GPT4 JSON uWSGI 递归学习法 DeepSeek Translation Algorithm UNIX 报税 Diagram Agent Hungarian NLTK Miniforge PyTorch OpenCV Qwen2.5 GIT VGG-16 git VPN llama.cpp Qwen2 BTC Plotly CLAP Data BeautifulSoup printf Firewall GoogLeNet Transformers BF16 Bert 财报 TTS API Website CEIR 强化学习 Docker Jetson HuggingFace CSV 第一性原理 飞书 v2ray Sklearn tar RL uwsgi AI 净利润 torchinfo Augmentation 顶会 XML Search Tiktoken icon Safetensors Knowledge LaTeX v0.dev
站点统计

本站现有博文334篇,共被浏览932118

本站已经建立2641天!

热门文章
文章归档
回到顶部