Tags:
, view all tags

Linux Hints

  • Problem: Moving files into a web directory, even after changing permissions reporting a permission error when clicked on from web:
    • restorecon -r < path >
  • Adding a user to an existing group
    • usermod -a -G {group} (username}
  • Forcing all files in a folder to belong to a group:
    • chmod g+s dir
  • Ubuntu: setting your default shell:
    • chsh
    • then type the path to the shell you want, ex: /bin/bash
  • Adding a user
    • useradd -c "{USER FULL NAME}" -g {group} {username}
  • set password for a user
    • passwd {username}
  • Force the user to change their password on next login
    • chage -d 0 {username}

Comments

Edit | Attach | Print version | History: r12 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2015-05-01 - TimMcDonald
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback