Linux

Posted on
Page
of 47
  • I think you're over complicating this.

    1) Copy the config somewhere (home directory is fine - I generally just make a copy in the config directory with .old or .backup added to it).
    2) Edit the file in the samba directory.
    3) Restart the service.

    If it works, you're good. If not, you can copy the backup back to the samba directory and restart the service.

    In theory you can edit the file anywhere, so long as you copy it to the samba directory at some point.

    edit - too slow.

  • also perfect! thanks! I am totally over complicating it I know!

  • I think I ballsed it up :/

    I now get /etc/samba/smb.conf permission denied

    I tried reverting back to the 'old' config too

  • what are the permissions for /etc/samba/smb.conf ?

    Does Samba have its own user?

  • actually I don't think I did - I just did vi /etc/samba/smb.conf and I can see my appended line

    I just need to get users to test shares now as I don't have access

    cheers

  • OK - If I view (edit) the smb.conf file I see my entry - if I do testparm /etc/samba/smb.conf I don't

    any ideas?

  • OK figured out that the version of Samba on this VM is 3.0.10 which I don't think even supports SMB2 sigh

  • sudo the command - it's probably owned by root

    I can't write the full line, as cloudflare blocks it... @velocio ...

  • Email me the line, and I'll figure out what WAF rule to disable.

    david@buro9.com

  • yep had to sudo it

    Samba version is pre SMB2 so I've put it back to the guys who need access and asked what they want to do with the data on the shares

    thanks all, total newb with Linux so appreciate help

  • RHEL 4 is ancient, end of life and almost certainly massively insecure in many regards. RHEL 5 is also end of life.

    I'd build a new box at this point, and move services across if at all possible.

    If it's not possible, I'd still do it.

  • What are people using to back-up their data?

    The "Backup Tool" bundled with Mint only covers the OS and I need something more sophisticated than simply copy & paste from one HD to another.

  • I'd be curious to know this^ too.

    Out of interest does anyone use an email app, similar to MS Outlook?

    I was looking at Claws Mail or Nylas.

    Using Ubuntu 17.04 on an old machine, so not too sure how it would hold up.

  • I tried Claws once.
    It was dreadful IMO, but then Mutt is the only client I've ever liked, so YMMV.

    As for backup, I have an rsync script somewhere that does a reasonable impersonation of Time Machine. The only thing you don't get is directory hard links (so incremental backups are larger than they would be with Apple's proprietary magic) and the swooshy graphics.

  • Duplicati for block-deduped incremental backup - was Crashplan. Still using Thunderbird for mail but not really much on Linux.

  • Cheers.

  • Thanks, I'll have a look at that.

  • @scilly.suffolk theres also rdiffbckup which is based on rsync but stores the data in reverse so that latest data is the default. Its as heavy to get to grips with as rsync but its good.

  • I'll add that to the list, thanks!

  • @scilly.suffolk theres also gui available for it, not tried it myself.

  • any suggestions for a usb-wireless dongle that works well with Linux?

  • I've got a remote for my Linux box which I use with Kodi, it's based on an old Windows Media Player remote. Generally works fine except the Enter/select button doesn't do anything (works as enter on Windows).

    Any suggestions for a program that will let me see what key Linux thinks I'm pressing (or if it even recognises I'm pressing anything at all) so I can change the keymap in Kodi?

  • Upgraded my laptop to Ubuntu 17.10 & they've ditched Unity so having to use Gnome instead now. That's all fine, am used to Gnome & all that, but my machine is a QHD 13" laptop, & I'm finding that the fractional resolution scaling is absolutely awful. With Unity I had no problems with running a 1.25% scaled display, but in Gnome that looks awful, so blurry. Anyone got any ideas of alternatives?

  • Essentially I have a laptop with a high DPI screen (1440x2560 in 13"), if I have it at 100% scaling, then the UI elements look tiny. Gnome only offers 100% or 200% (where things look way too big), neither is ideal! Unity had a far more adjustable sliding scale & sampled much better it seems.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Linux

Posted by Avatar for hael @hael

Actions