How to create teacher accounts

From Nstl-wiki

Jump to: navigation, search

You can use the command useradd or yast2's User Management.


Example: Creating system user professorx

[edit] useradd

  1. Create a group named professorx.
    # groupadd professorx
  2. Create a user named professorx with primary group professorx and supplementary groups teachers and video. (Primary group should NOT be users)
    # useradd -m -g professorx -G video,teachers professorx
  3. Set the default password (professorx123 or similar would do).
    # echo 'professorx:professorx123' | chpasswd
  4. Modify professorx' home permissions:
    # chmod -R o-rx /home/professorx
  5. Change the default umask. (optional)
    # echo 'umask 0027' >> /home/professorx/.bashrc
Personal tools