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

本站现有博文339篇,共被浏览1000377次

本站已经建立2710天!

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