On 08/01/2011 01:41 AM, Keywan Najafi Tonekaboni wrote:
> Hi,
>
> Am Sonntag, den 31.07.2011, 09:18 -0800 schrieb Kevin Miller:
>
>> It is used, but it isn't directly used by a person.  The database,
>> mysql, has it's own accounts just like an operating system does.
>> Different database users can have different permissions w/in the
>> database.  The Rivendell programs use the rduser and rd.conf password to
>> interact with the database.
>
> i got more confused. To interact with the database there is the
> mysql-user, right? Just to clarify, I know about linux system users and
> group, mysql-users, and the users inside rivendell itself, so I don't
> need information about that.

I think some of the confusion comes from the default naming of the 
accounts.  There are two similarly named accounts being discussed:

1: The Linux account that one logs in as to run Rivendell: rd-user (note 
the dash in the name).
2: The mysql account that Rivendell uses to interact with the database: 
rduser  (Note the lack of a dash).

> I just don't understand for what the rduser (in /etc/passwd) with
> password is necessary. So a rivendell installation with more then one
> host doesn't use ssh or something to communicate via linux-user between
> the hosts, right?

As mentioned above, rduser is the mysql database user that interacts 
with the database.

rd-user is the account with an entry in /etc/password and is the Linux 
user that logs in to run the Rivendell system.  Note that the name 
"rd-user" isn't a hard and fast requirement.  I've used my regular Linux 
account on my test machines.

I haven't set up a multi-host Rivendell system so I'm not sure about 
that part of the equation.  I would expect that they communicate using a 
mysql listener on a specific port, and not via ssl and Linux users. 
Similar to an https session on port 443.  The Linux user is irrelevant 
(it could be a Windows user connecting even).  The credentials passed 
would be those of the mysql user (rduser).  But that's just an 
assumption on my part because I haven't really looked into that aspect.

And it may have changed under version 2.  I haven't played w/that yet, 
so don't know if Fred and company has made significant changes to the 
user side of things.


>> So the password in rd.conf does matter, in that it has to exist, but it
>> doesn't matter what it's set to.
>
> As far as I understand the wiki article, it's just there because of
> historical reasons..

The placement in the rd.conf file in the identity section is an 
unfortunate historical artifact.  In the same stanza it mentions both 
the rduser password used by mysql right above the Linux user ID.  One 
would assume that the ID and password mentioned in the [Identity] stanza 
would refer to the same thing but they don't.  It would be hard to 
change that though because it would break existing implementations.

So, in a nutshell, you have two accounts:

rd-user:
        Linux account
        Referred to as Audio-Owner in rd.conf
        Exists in /etc/password
rduser:
        mysql user used by Rivendell
        Password set in rd.conf

> Thanks for your patience,

More than welcome.  I hope that helps clear things up.  I'll be away 
from a computer for the next couple weeks so if you still have questions 
hopefully someone else can chime in...

...Kevin

-- 
Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://counter.li.org
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to