Child pages
  • Users and groups

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This varies, depending on the type of user.  Maybe the user will be a full Linux user; maybe the user is only required for use with samba.

TODO: collect any standard and other localised examples to augment the Savitri Bhavan examples

For a full Linux user:  TODO: complete and test this description, this example is as used at Saitri Bhavan on "archiver":

useradd --comment 'User NameVadivel' --create-home --groups archiver,sb-users -gid <primary group name or number> --groups <comma separated list of secondary groups> <user name>user-group vadivel

For a user who will only log on to samba:  TODO: complete and test this description

...

, this example is as used at Saitri Bhavan on "archiver":

useradd --create-home --groups 'sb-users' --home-dir /mnt/archive/private/users/$u/ --user-group --groups <comma separated list of secondary groups> <user name>$u

User disabling and removal

...