Tanti Technology

My photo
Bangalore, karnataka, India
Sandeep Kumar | Founder, Tanti Technologies At Tanti Technologies, I share practical knowledge, hands-on tutorials, and real-world solutions across Python, SQL, Docker, Kubernetes, CI/CD, AWS, Azure, Machine Learning, Generative AI, and Agentic AI. My mission is to simplify complex technologies and provide actionable insights that help developers, engineers, and businesses learn faster, build better, automate smarter, and innovate with confidence. 🚀 Learn • Build • Automate • Innovate Follow Tanti Technologies for practical technology insights and next-generation AI solutions.

Sunday, 27 August 2017

User Creations, modification and password settings and removing


Four ways of user creations
1. adduser             2. useradd             3. redhat-config-user          4. click system settings – user & groups
# useradd vasanth
# passwd vasanth
new password: xxxxxx
retype password: xxxxxx (at least 6 char)
# useradd –u 650 –d /home/vasanth –m vasanth
# useradd –u 700 –d /home/prem –m prem
# usermod –u 700 -o -l vasanth babaji (username modify from vasanth to babaji)
# passwd –d vasanth (remove the password)
# userdel –r vasanth (remove the vasanth user from /home dir)
Some of the important /etc configuration files modification and processing
# vi /etc/issue (After login to the user to display Terminal screen number, date and time)
Terminal : \l
Date : \d
Time : \t
Hostname : \n
wq!
Ctrl –d (refresh )


# vi /etc/motd (Set the title banner for after login to the user )

No comments:

Post a Comment