[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord problem in testing



On Mon, Jun 11, 2001 at 06:12:38PM -0700, David Nusinow wrote:
> On Monday 11 June 2001 11:06 am, Stephen Rueger wrote:
> >
> > Use it as "root" or make it SUID, that's all.
> 
> One thing I've never understood about SUID, how does it know which UID
> to set? Does it just automatically set to root's ID, or do you have to
> specify it somewhere?
> 
> All you do to make something SUID is chmod +s file, right?

Actually there are three possibilites:

chmod u+s # suid's owner only
chmod g+s # suid's group only
chmod +s  # suid's both owner and group

> Thanks for filling in a few blanks!

-- 
Certain nations seem particularly liable to fall prey to
governmental plunder. They are those in which men, lacking faith
in their own dignity and capability, would feel themselves lost if
they were not governed and administered every step of the way.
	-- Frédéric Bastiat (1801-1850)
    Rick Pasotto    rickp@telocity.com    http://www.niof.net



Reply to: