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

本站现有博文332篇,共被浏览900583

本站已经建立2602天!

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