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

本站现有博文319篇,共被浏览750015

本站已经建立2403天!

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