Maintenance reference: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Reference == | == Reference == | ||
{| class="mw-collapsible mw-collapsed wikitable" | {| class="mw-collapsible mw-collapsed wikitable" | ||
! Updating mediawiki | ! Adding a user to the server | ||
|- | |||
| | |||
su - | |||
passwd #newuser# | |||
mkdir /home/#newuser# | |||
chown #newuser#:users /home/#newuser# | |||
# grant ssh access by adding to "AllowUsers" | |||
em /etc/ssh/sshd_config | |||
/etc/init.d/sshd restart | |||
# grant samba access to home folder | |||
# it's already set up in /etc/samba/smb.conf | |||
# but the user must be manually added to samba | |||
# use same pwd as before to sync them | |||
# no need to restart samba | |||
smbpasswd -a #newuser# | |||
|} | |||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! Updating mediawiki installation | |||
|- | |- | ||
| | | |
Revision as of 17:20, 7 June 2013
Reference
ExpandAdding a user to the server |
---|
ExpandUpdating mediawiki installation |
---|
ExpandCreating a new ssh key pair for no-password access to a remote system |
---|
ExpandBack up a linux system to a second bootable drive |
---|
Maintenance of my Gentoo boxes
Maintenance of my music collection
udev: Assign unique names to your devices
Automatically mount and unmount your devices
udev: Autorun programs when connecting your devices