Executing a command with sudo, Executing a command with sudo 44 – Apple QuickTime Streaming Server (Administrator’s Guide) User Manual

Page 44

Advertising
background image

44

Chapter 2

<Limit WRITE>

require any-user

</Limit>

require any-user

3

If you want to limit broadcaster access to the server, enter the following lines in the file:

<Limit WRITE>

require user someUserName

</Limit>

require any-user

where

someUserName

is a broadcaster user name of your choosing.

4

Save the file as plain text (not .rtf or any other file format).

5

For QTSS or DSS 4.1 or later: Click “Change Movie Broadcast Password” in General Settings
in Streaming Server Admin.

Enter the new user name and then the new password (twice) in the dialog, and click Change
Password. You’re done.

For QTSS or DSS version 4.0: Log in as root (or administrator in Windows) and open a
terminal window. Alternatively, use sudo to execute the command below as root. See
“Executing a Command With sudo” on page 44.

As root (or administrator in Windows), type the following (where

someUserName

is a

broadcaster user name of your choosing):

qtpasswd someUserName

You will be prompted for a password twice. After each prompt, enter the password for the
new user you are creating.

Example:

[host:~] root# qtpasswd broadcastuser

Adding userName broadcastuser

New password:

Re-type new password:

[host:~] root#

Executing a Command With sudo

If you are logged in as an administrator, you can use sudo to execute a command as if you
were the root user (administrator in Windows). This way you don’t have to enable the root
account to make changes that require root privileges.

LL0329.book Page 44 Wednesday, November 20, 2002 2:09 PM

Advertising
This manual is related to the following products: