Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 853
  • Last Modified:

Fedora / Samba - n00b - How to edit the smb.conf (samba config file)


Is there a way to edit it.

Is there a friendly editor I can install rather than the some  black unfriendly screen I used last week?
0
fcek
Asked:
fcek
  • 6
  • 4
1 Solution
 
thebrunoCommented:
sudo apt-get install gedit

sudo gedit smb.conf
0
 
thebrunoCommented:
sorry,

...
sudo gedit /etc/smb/smb.conf
0
 
fcekAuthor Commented:

[ed@server1 ~]$ sudo gedit /etc/smb/smb.conf

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for ed:
ed is not in the sudoers file.  This incident will be reported.
[ed@server1 ~]$


0
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
fcekAuthor Commented:


Will I just run that command from # ?
0
 
thebrunoCommented:
yes you can run it from the #(root) prompt.

0
 
thebrunoCommented:
without 'sudo'
0
 
fcekAuthor Commented:

Hi, It think the directory its in is "samba" but my chage didnt work anyway


gedit /etc/samba/smb.conf


[root@server1 ed]# gedit /etc/smb/smb.conf

(gedit:2707): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted (core dumped)
[root@server1 ed]# gedit /etc/samba/smb.conf

(gedit:2718): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted (core dumped)
[root@server1 ed]#
0
 
fcekAuthor Commented:


A mate wrote up this by hand and I used a GUI.

Now that I want to change one letter he typed wrong ........ mast to mask
Samba warning - 351: create mast = 770

I cant do it.

Its so frustrating ........

Was hoping to get rolling with some CLI in there to make shares etc and as usual Im stumped.
0
 
fcekAuthor Commented:
0
 
fcekAuthor Commented:


If you concur ........ post back the same link -
0
 
tsmgeekCommented:
i personaly use VIM to edit the config file directly as its easier then reload smb, but if you want a nice simple GUI then Webmin is a good tool for admin of many nix services
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now