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}
  • Listing groups a user belongs to
    • groups {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}
  • Copy disk image
    • sudo dd if=/path/of/source of=/path/of/destination bs=1M

Kmail

Kmail won't open folders

This one is mostly a matter of restarting so KMail can fetch those pesky items... Some possible steps: Use Alt + F2 or Konsole to type: kquitapp kmail, then wait a minute, then akonadictl stop, wait a minute, type akonadictl start, wait a minute, type kmail. This stops KMail (closing all windows), stops the KMail backend, starts the KMail backend, starts KMail. Having a working internet connection increases the chances of success. Sometimes, you can also just do kquitapp kmail, wait a minute, and start KMail again. Often, a few restarts seem to be needed. It is unclear what is the reason for this, but on bad network connections it is more likely to happen.

Comments

Edit | Attach | Print version | History: r12 | r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r7 - 2016-04-04 - 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