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

本站现有博文321篇,共被浏览768900

本站已经建立2454天!

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