Tag: user accounts
Samba Restrict File Sharing To Particular Users or Network Addresses
last updated in Categories AIX, CentOS, FreeBSD, Linux, Networking, RedHat and Friends, Samba (SMB/CIFS), Security, Solaris-Unix, Storage, Suse, UNIXLinux /bin/false VS /sbin/nologin: Politely Refuse a Login
last updated in Categories LinuxMove or migrate user accounts from old Linux server to a new Linux server
last updated in Categories BASH Shell, CentOS, Debian / Ubuntu, EMail Servers, Featured, File system, Linux, RedHat and Friends, Suse, Ubuntu Linux, User ManagementHow do I Move or migrate user accounts to from old Linux server a new Cent OS Linux server including mails? This new system a fresh installation.
Continue reading “Move or migrate user accounts from old Linux server to a new Linux server”
Continue reading “Move or migrate user accounts from old Linux server to a new Linux server”
FreeBSD locking an account
last updated in Categories FreeBSD, User ManagementThe pw utility is a command-line utility for the FreeBSD system user and group files, allowing the superuser an easy to use and standardized way of adding, modifying and removing users and groups. Same utility provides ability to locking or unlocking FreeBSD user accounts.
FreeBSD locking an account command
Syntax:
pw lock {username}
Example
Lock user account named vivek. Login as a root user and type following command:
# pw lock vivek
FreeBSD unlocking an account command
Syntax:
pw unlock {username}
Example
Unlock user account named vivek. Login as the root user and type the following command:
# pw unlock vivek