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

本站现有博文333篇,共被浏览922058

本站已经建立2628天!

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