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

本站现有博文320篇,共被浏览760828

本站已经建立2432天!

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