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

本站现有博文323篇,共被浏览795321

本站已经建立2493天!

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