HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Setting Up Samba - Howto Problem (http://www.howtoforge.com/forums/showthread.php?t=9470)

AEngineer 31st December 2006 18:21

Setting Up Samba - Howto Problem
 
I'm a newbie attemtping to follow the instructions in
http://www.howtoforge.com/samba_setup_ubuntu_5.10

Ubuntu (6.10) is working fine - desktop version
I followed p.3 down to installing putty - which I did successfully

Q1- Rights to server
I can access the server I've set up using my ubuntu pswd (but only using the IP, not the name), but when I attempt to run the first command in italics "touch /quota.user /quota.group" I get a permissions error.

- Am I right in thinking that this should command should be run through putty?
- If so, how do I determine the proper user and password?
- Must I be working as root throughout? If so, must I have in somewhat created a non-changing root account, something Ubuntu frowns upon from what I gather.

falko 1st January 2007 20:03

Quote:

Originally Posted by AEngineer
- Must I be working as root throughout? If so, must I have in somewhat created a non-changing root account, something Ubuntu frowns upon from what I gather.

Yes, you must be root. You can create a root account like this:
Code:

sudo su
passwd


martinfst 1st January 2007 21:12

Semantics
 
To get the semantics correct,
Code:

sudo su
does not give you a new account, it just spawns a new shell with an effective user id of root. A slightly (system wise) optimized way of getting root rights is to use
Code:

sudo bash
passwd

which of course gives the same results. If you really want to logon as 'root', you'll have to assign a passwd to the root uid.


All times are GMT +2. The time now is 14:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.