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

本站现有博文337篇,共被浏览956716次

本站已经建立2668天!

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