Re: How to allow 'User-A' to burn CD

2004-05-17 Thread Matthew Seaman
On Mon, May 17, 2004 at 01:10:23PM +0800, Stephen Liu wrote:

 Which file shall I re-configure to authorize 'User-A'
 using 'burncd' to burn CD and how to edit it.

/usr/local/etc/sudoers would be a good file to use to set up that sort
of thing.  You will have to install the security/sudo port and read up
on the sudoers(5) manual page and the visudo(8) application used to
edit that file.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpfKHwkMGkR4.pgp
Description: PGP signature


Re: How to allow 'User-A' to burn CD

2004-05-17 Thread Stephen Liu
Hi Matthew,

Tks for your advice.

  Which file shall I re-configure to authorize
 'User-A'
  using 'burncd' to burn CD and how to edit it.
 
 /usr/local/etc/sudoers would be a good file to use
 to set up that sort
 of thing.

Noted with thanks

I only expect to allow 'User-A', not all users, to
burn CD. I can

# chmod 660 /dev/acd1

then all users can burn CD.

User-A is alrady allowed to burn CD with

$ su
password: (root password)

What I expect to change is to allow User-A
$ su
password : using his own password instead of 'root
password'

 You will have to install the
 security/sudo port and read up
 on the sudoers(5) manual page and the visudo(8)
 application used to
 edit that file.

Noted with thanks.

What do these numbers (5) and (8) referring to.  Page
number?

TIA

B.R.
Stephen

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to allow 'User-A' to burn CD

2004-05-17 Thread Shaun T. Erickson
You will have to install the
security/sudo port and read up
on the sudoers(5) manual page and the visudo(8)
application used to
edit that file.
What do these numbers (5) and (8) referring to.  Page
number?
They refer to the section of the manual. To read them, issue these commands:
man 5 sudoers
man 8 visudo
-ste
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to allow 'User-A' to burn CD

2004-05-17 Thread Lowell Gilbert
Stephen Liu [EMAIL PROTECTED] writes:

 What I expect to change is to allow User-A
 $ su
 password : using his own password instead of 'root
 password'

That's exactly what sudo is good for.

  You will have to install the
  security/sudo port and read up
  on the sudoers(5) manual page and the visudo(8)
  application used to
  edit that file.
 
 Noted with thanks.
 
 What do these numbers (5) and (8) referring to.  Page
 number?

Section number.  See man man, particularly the examples. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to allow 'User-A' to burn CD

2004-05-17 Thread Matthew Seaman
On Mon, May 17, 2004 at 08:16:30PM +0800, Stephen Liu wrote:

 What do these numbers (5) and (8) referring to.  Page
 number?

Section of the user manual, where (1) is user commands, (2) is system
calls, (3) is C api, (4) is kernel devices, (5) is configuration
file formats, (6) and (7) are not commonly used, and I can't remember
exactly what they mean and finally (8) is system management commands.

Usually I just use this to indicate a man page: so if I talk about
sshd_config(5), you can pretty much just type:

% man sshd_config

and see what I'm on about.  Sometimes the number is significant: to
see the chown(2) man page you have to type:

% man 2 chown

because plain 'man chown' gets you the chown(8) man page.

Cheers,

Matthew

PS.  Actually (6) is games, and (7) is miscellaneous, as you can find
out by looking at intro(6) and intro(7).

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpUKFzi05Ls9.pgp
Description: PGP signature


Re: How to allow 'User-A' to burn CD

2004-05-17 Thread Vulpes Velox
On Mon, 17 May 2004 13:10:23 +0800 (CST)
Stephen Liu [EMAIL PROTECTED] wrote:

 Hi folks,
 
 Which file shall I re-configure to authorize 'User-A'
 using 'burncd' to burn CD and how to edit it.

What I would do is create named cdrw or what ever. Chmod that device
to readable and writable by that group. This will give any one in that
group access to it upon thier next login.

The commands you need to man are... pw, chmod, chown
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to allow 'User-A' to burn CD

2004-05-16 Thread Stephen Liu
Hi folks,

Which file shall I re-configure to authorize 'User-A'
using 'burncd' to burn CD and how to edit it.

TIA

B.R.
Stephen Liu 

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]