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

本站现有博文338篇,共被浏览977917次

本站已经建立2690天!

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