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

本站现有博文332篇,共被浏览869651

本站已经建立2578天!

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