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

本站现有博文332篇,共被浏览875341

本站已经建立2583天!

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