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

Re: localhost:631 and sudouser



Am 27. Jan, 2011 schwätzte Sthu Deus so:

moin moin,

How the printers are administered through the 631th port when only sudo
users are available?

Not sudo users, rather the root user. By default sudo switches to root
account privileges, but it can grant access as other users as well.

On my system cups is running as root, so it has permissions to bind to
port 631.

Other services such as apache start as root in order to bind to a
privileged port, but then shed the root privileges and run as an
unprivileged user.

ciao,

der.hans
--
#  http://www.LuftHans.com/        http://www.LuftHans.com/Classes/
#  ABLEconf - 2011Apr02 - CfP 2010Feb06 - Free Software for Free Enterprise
#  A t-shirt a day keeps the noose away. - der.hans

Reply to: