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

本站现有博文328篇,共被浏览850964

本站已经建立2557天!

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