≡ Menu

/etc/passwd

How to force users to use secure passwords on Ubuntu/Debian Linux

My Linux shell user can modify their password using the passwd command. How can I force users to choose the secure password that will prevent users from using stupid passwords like “abc123”, “password”, “123456” and so on? How do I setup password quality requirements on my Debian or Ubuntu Linux server?
[click to continue…]

Sysadmin because even developers need heroes!!!

Linux / Unix: users Command Examples

users command

I am a new Linux and Unix system user. How do I list current users on Linux or Unix-like operating system using shell prompt?
[click to continue…]

Linux Command: List All Users In The System

I‘m a new Linux sys admin and I’m unable to find the command to list all users on my RHEL server. What is the command to list users under Linux operating systems?
[click to continue…]

Linux Change Password

How do I change my own password as well as the passwords of other users as required under Linux operating system without using GUI systems? How can I change or set user password on Linux operating systems?
[click to continue…]

Ubuntu: Rename an Account [ User ID ]

How do I rename a user name from ‘tom’ to ‘jerry’ under Ubuntu Linux?
[click to continue…]

Linux / UNIX: Change Bash To KSH Shell

How do I change my current login shell from bash to ksh under Linux or UNIX or Apple OS X operating systems?
[click to continue…]

Grep Count Lines If a String / Word Matches

How do I count lines if given word or string matches for each input file under Linux or UNIX operating systems?
[click to continue…]

UNIX / Linux Command To Check Existing Groups and Users

How do I check the existing Linux / UNIX users and groups under Linux operating system?
[click to continue…]

How To: UNIX Add A User To A Group

Q. How do I add a user to a group under Sun Solaris UNIX operating system from a shell prompt or command line?
[click to continue…]

Understanding /etc/group File

Can you explain me the format of /etc/group user group file under Linux / UNIX operating systems?
[click to continue…]