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

本站现有博文311篇,共被浏览741500

本站已经建立2379天!

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