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

本站现有博文340篇,共被浏览1018360次

本站已经建立2718天!

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