Solved

Access Ubuntu super-user area using Samba

Posted on 2006-10-22
1
476 Views
Last Modified: 2012-06-27
Does anyone know how I can gain access to a super-user area (e.g. /etc ) using Samba?
As I understand, there's no root-user in Ubuntu, only normal users with su privileges..(?)
I run Samba, and has added samba-password to a user with su-privileges. I can access files on this user's home-area, but can't get write-access to other areas even though these are shared.
Suggestions?
0
Comment
Question by:Skjori
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
daohailam earned 500 total points
ID: 17793533
1. No, root-user still exists.  You can do as follows to change root password (from the terminal prompt):

   $ sudo -i
   Password: <your_password>
   # passwd
   Password: <root_password>

  after that, you can login to root (at console) normally

2. With Samba shares, you can set write permission with following options in /etc/samba/smb.conf

[ShareName]
  path = /opt
  ...
  writable = yes
  valid users = someone
  write list = someone @somegroup
  ...
0

Featured Post

How To Reduce Deployment Times With Pre-Baked AMIs

Even if we can't include all the files in the base image, we can sometimes include some of the larger files that we would otherwise have to download, and we can also sometimes remove the most time-consuming steps. This can help a lot with reducing deployment times.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question