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

本站现有博文326篇,共被浏览824811

本站已经建立2530天!

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