≡ Menu

User Management

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!!!

FreeBSD Add a User To Wheel Group Command

How do I add a user to the wheel group in FreeBSD unix operating systems using command line options?
[click to continue…]

How To Add, Delete, and Grant Sudo Privileges to Users on a FreeBSD Server

I‘m setting up a new FreeBSD server. I do not want to use a default root user who has full system access. How can I setup and grant sudo privileges to users on a FreeBSD VPS or server?
[click to continue…]

Linux: Hide Processes From Other Users

I run a multi-user system. Most users access resources using ssh client. How can I stop leaking process information to all users on Linux operating systems? How do I prevent users from seeing processes that do not belong to them on a Debian/Ubuntu/RHEL/CentOS Linux server?
[click to continue…]

Linux / Unix: Check Last Time User Logged In On The System

I am a new Unix system admin. How do I find ouw who has recently use the Linux or Unix-like server? Which terminals they used, and when they logged in and out of the my server?
[click to continue…]

Linux: Log Everyone Out Of The System

I can login as root user on Debian or Ubuntu/RHEL/CentOS Linux based system. I need to log everyone off (all ssh users) to install new kernel and/or hardware. How do I do this on Linux? What is the best way to logout ALL USERS remotely over the ssh based session in Linux like operating systems?
[click to continue…]

Linux lid Command Examples

lid command

I am a new Linux and Unix system user. How do I list the user’s groups or group’s users on Linux operating systems? How can I show list of users belonging to a given group on Linux based server?
[click to continue…]

Linux: members Command Examples

members command

I am a new Linux and Unix system user. How do I list the members of a group on Linux or Unix-like systems?
[click to continue…]

Linux: Show All Members of a Group

I am a new Linux user and created couple of groups on server. I need to find out all members of a group called “ftponly”. How do I list all members of a group on Linux or Unix-like systems?
[click to continue…]

Unix Command To Change Password

I am a new Unix user at my university/school. In Unix, how do I change my password to safeguard and increase the security of my Unix account?
[click to continue…]