adduser doesn't quite get it
John Summerfield
debian at herakles.homelinux.org
Mon Oct 27 23:13:22 UTC 2008
Michal Jaegermann wrote:
> On Mon, Oct 27, 2008 at 09:52:42AM -0700, Jesse Keating wrote:
>> On Mon, 2008-10-27 at 07:30 -0700, Chuck Forsberg WA7KGX N2469R wrote:
>>> A user added with the adduser command doesn't seem to have as many
>>> privileges as one added from the GUI. The obvious one is the ability to
>>> use the sound system. That was the problem with xmms.
>> Which command line tool did you use to create the user? IIRC one of
>> them (luseradd) uses libuser as the backend, which can set the selinux
>> permissions correctly where as useradd does not.
>
There's also the point that adduser does what you tell it, and that's
not to add the user to lots of groups unless rootuser specifies
otherwise, while another tool might add users to groups that fit well
the the distro's philosophy. In the former case, sound might not while
in the latter it works well.
> Before anybody will ask - adduser and useradd this is the same
> thing.
It is in RedHattish systems, but not so in others.
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
More information about the test
mailing list