Skip to content

MasterKenneth

Everyday Notes from a Linux Administrator

  • Home
  • Blog
  • AWS
  • DevOps
  • Raspberry Pi
  • About Me
MasterKenneth

Tag: user account

The /etc/passwd File

There are several different authentication schemes that can be used on Linux systems. The most commonly used and standard scheme is to perform authentication against the /etc/passwd and /etc/shadow files.

/etc/passwd is a plain text-based database that contains information for all user accounts on the system. It is owned by root and has 644 permissions. The file can only be modified by root or users with sudo privileges and readable by all system users.

Modifying the /etc/passwd file by hand should be avoided unless you know what you are doing. Always use a command that is designed for the purpose. For example, to modify a user account, use the usermod command, and to add a new user account use the useradd command.

Continue reading “The /etc/passwd File”
Author masterkennethPosted on 13/07/201929/12/2019Categories CentOS, Debian, Linux, Red Hat, Ubuntu, UnixTags CentOS, Debian, Linux, passwd, shadow, Unix, user accountLeave a comment on The /etc/passwd File

Properly rename user accounts in Linux

We might have come across a situation where we might want to rename user in Linux system, for whatever reasons. We can easily rename user in Linux and also we can rename the home directory or its UID as well.
In this short tutorial, we will be discussing these things only.
Continue reading “Properly rename user accounts in Linux”

Author masterkennethPosted on 18/07/201721/04/2018Categories CentOS, Debian, Linux, Red Hat, Ubuntu, UnixTags CentOS, Debian, Linux, Red Hat, Ubuntu, Unix, user accountLeave a comment on Properly rename user accounts in Linux

Recent Comments

  1. masterkenneth on Raspberry Pi Thin Client
  2. ZekeMX on Raspberry Pi Thin Client
  3. fabien on Using lsof to Recover Deleted Files
  4. fishingPup on HP-UX LVM change VG Max Size
  5. masterkenneth on How to find out PID in Linux

Categories

  • Amazon Web Services (17)
  • DevOps (8)
  • Linux (59)
    • CentOS (53)
    • Debian (48)
    • Red Hat (53)
    • Ubuntu (48)
  • Raspberry Pi (6)
  • Software (20)
    • Apache (9)
    • MariaDB (4)
    • MongoDB (4)
    • MySQL (6)
    • PHP (2)
    • VNC (2)
  • Unix (27)
    • AIX (4)
    • HP-UX (6)
    • Solaris (8)
  • Windows (4)
  • Home
  • Blog
  • AWS
  • DevOps
  • Raspberry Pi
  • About Me
MasterKenneth Proudly powered by WordPress