Solved

Access Ubuntu super-user area using Samba

Posted on 2006-10-22
1
474 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 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