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

本站现有博文323篇,共被浏览800655

本站已经建立2499天!

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