Skip to content

nixCraft

Linux and Unix tutorials for new and seasoned sysadmin

  • Home
  • About
  • Linux Shell Scripting TutoriaL
  • RSS/Feed
  • Donations
  • Search

nixCraft

Linux and Unix tutorials for new and seasoned sysadmin

nixCraft

Tag: user accounts

Ubuntu Linux: Add a User To Group

last updated June 10, 2013 in Categories Ubuntu Linux

How do I add a user to group under Ubuntu Linux operating system using command line options?

11 Comments

Samba Restrict File Sharing To Particular Users or Network Addresses

last updated October 16, 2009 in Categories AIX, CentOS, FreeBSD, Linux, Networking, RedHat and Friends, Samba (SMB/CIFS), Security, Solaris-Unix, Storage, Suse, UNIX

All my local Linux user accounts will be able to log in to my Samba server and access share. How do I restrict access to particular users or network subnet such as 192.168.2.1/24?

8 Comments

Linux /bin/false VS /sbin/nologin: Politely Refuse a Login

last updated April 13, 2010 in Categories Linux

How do I deny access to user account? Do I need to use /bin/false or /sbin/nologin to refuse a login?

3 Comments

Move or migrate user accounts from old Linux server to a new Linux server

last updated August 7, 2017 in Categories BASH Shell, CentOS, Debian / Ubuntu, EMail Servers, Featured, File system, Linux, RedHat and Friends, Suse, Ubuntu Linux, User Management

How 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”

105 Comments

FreeBSD locking an account

last updated December 12, 2007 in Categories FreeBSD, User Management

The 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

See also:

  • FreeBSD: Finding passwordless (no password) account and lock all accounts
1 Comment

Mysql User Creation: Setting Up a New MySQL User Account

last updated May 3, 2017 in Categories Linux, MySQL, UNIX, Windows

How do I create a user account on MySQL database server?

17 Comments

Cool Linux penguin shirt

FEATURED ARTICLES

  • 1
    30 Cool Open Source Software I Discovered in 2013
  • 2
    30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
  • 3
    Top 32 Nmap Command Examples For Linux Sys/Network Admins
  • 4
    25 PHP Security Best Practices For Linux Sys Admins
  • 5
    30 Linux System Monitoring Tools Every SysAdmin Should Know
  • 6
    40 Linux Server Hardening Security Tips
  • 7
    Linux: 25 Iptables Netfilter Firewall Examples For New SysAdmins
  • 8
    Top 20 OpenSSH Server Best Security Practices
  • 9
    Top 25 Nginx Web Server Best Security Practices
  • 10
    My 10 UNIX Command Line Mistakes

Sign up for my newsletter

Sign up for my newsletter



RSS Recently updated

  • Debian Linux 9.7 released and here is how to upgrade it
  • Ubuntu Enable & Set up Automatic Unattended Security Updates
  • Linux hide processes from other users and ps command
  • Understanding Bash fork() Bomb :(){ :|:& };: code
  • vim-plug: A beautiful and minimalist vim plugin manager for Linux/Unix users
  • Linux / UNIX: Bash Script Sleep or Delay a Specified Amount of Time
  • KSH redirect stdout and stderr to a file on Linux or Unix
  • Linux / Unix Find Command Avoid Permission Denied Messages
  • How To Nginx Redirect All HTTP Request To HTTPS Rewrite 301 Rules
  • Linux/Unix desktop fun: Simulates the display from 'The Matrix'

Corporate Patron

  • Linode
  • Cloudflare
  • Prospect One
nixCraft @2000-2019 nixCraft. All rights reserved.
  • PRIVACY
  • TERM OF SERVICE
  • CONTACT/EMAIL
  • DONATIONS
  • Search