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

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

本站已经建立2620天!

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