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

本站现有博文309篇,共被浏览735661

本站已经建立2372天!

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