Yukari-chan wrote:
> One question first: what is sudo?
when as a normal user logged into a GUI (like KDE, GNOME) or at the
command line (without X running any windows at all) and you need to
use root/super user powers there are several ways to do that…
one is to type su either at the command line you are already at, or
by launching a terminal in a window and typing in su there, and
hit enter, it will ask for a password and if you type correctly you
will “become root” in that terminal…
su is a command, it is short for Switch User…if you go to a command
line and type man su you will see the MANual for Switch User…
if you just type su you will be using root powers but with the path
and other environment of you, a user…
if you type su - you will become root with root’s path and
environment…
in either case you will REMAIN root until you type exit and hit
enter, in which case you become you again, OR you can type
su - [any user] and become THAT user (if you know their password)
ok, all of that to get to your question:
sudo is a command to let you run something else AS root, and when that
something is done you automatically revert back to you…
like
sudo cat /etc/fstab
lets cat read and disply fstab AS ROOT, and then immediately releases
root powers…
>> a)
>> ample documentation for Linux is available, so you need not resort to
>> either assuming or guessing how to set up or administer a cluster of
>> mysql servers…
>>
>> b)
>> first, most experienced administrators would tell you that you should
>> not be running KDE, GNOME or any other GUI on a cluster of servers…
>>
>> c)
>> therefore you should not have /home/user/.kde, despite the fact that
>> others here are sure just overlooked it…
>>
>>
>>> Maybe I have to read it slowly to understand it, but maybe you could
>>> give me a hint how to use it in this case?
>> d)
>> first tell us, do you want to run a cluster of headless enterprise
>> level servers without X-Windows or do you want to run it like most
>> folks run their Redmond machines?
>>
>
> a) Well, I’m doing my best ^^" I just tried to start the service with
> another user, then it said:
> “Absolute path to ‘ndbd’ is ‘/usr/sbin/ndbd’, so running it may require
> superuser privileges (eg. root).”
> That’s why I thought, root is required.
but you do NOT have to log into KDE/GNOME/etc as root to do
that…most experienced folks will tell you to not log into
KDE/GNOME/etc as root because so many different things can go sour
that way…
instead, i always log in as a simple user and “become root” at the
command line (with su, su -, or sudo) or in a root powered GUI app
(like “file manager Super User mode” or YaST)–only!
> b) Is there a reason for that? What makes the huge difference between a
> system with and without a GUI? I think I would be able to use a system
> without a GUI but for me as a newbie it’s much easier to have things
> more “obious”, that’s why I installed it that way.
just that server functions (web servers, ftp servers, mysql servers,
print servers…whatever) do not need to have X-Windows running or
even installed…
if you want to administer a server from a window you may do that using
(for example) WebMin <http://en.wikipedia.org/wiki/Webmin> without
wasting CPU cycles on drawing unneeded windows on your server…
> c) Ah, ok… I already wondered about it.
>
> d) Sorry, I have no clue what you’re asking me, respectively what you
> want to hear from me 
you said you “installed mysql-cluster on my servers” i suppose that
means you are serving up a database to a number of users…if so, you
can save a lot of money on monitors, and energy wasted on drawing
unneeded windows that no one need look at if you use the cluster as
“headless”, that is without either a monitor or X-Windows installed or
used…
i don’t know what you do with the cluster, but if it is to make money
you are probably gonna be way ahead by doing a lot study…maybe even
purchase/use SUSE Linux Enterprise Server instead of openSUSE, from
the level of your questions it seems you are gonna need the support
Novell can offer (not that you are not welcome to stay here…but, you
have to more self study, otherwise you are gonna spend a LOT of time
here…
–
palladium