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

本站现有博文324篇,共被浏览819194

本站已经建立2522天!

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