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

本站现有博文327篇,共被浏览833128

本站已经建立2538天!

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