Re: Problems w/ adduser... says user 'root' doesn't exist!
Ethan Benson wrote:
>
> On Thu, Jan 11, 2001 at 06:38:21PM -0700, Monte Milanuk wrote:
> > I'm a bit confused here... I used dselect to install CUPS and it's
> > dependent packages, but no config program, which seemed odd. I used
> > links to browse the documentation in
> > /usr/share/doc/cupsys/README.Debian. It said that cups was almost
> > setup, but due to a bug in adduser, it hadn't added root to the
> > necessary group lpadmin yet, and I had to do it manually. I checked the
> > manpage for adduser, and it says that when adduser is called w/ two
> > non-option parameters, it will try to add the first paramater (username)
> > to the second (group name). So I tried the following:
> >
> > ishamael:/# adduser root lpadmin
> > adduser: The user `root' doesn't exist.
> > ishamael:/#
> >
> > Now it seems odd that 'root' doesn't exist, especially since I'm trying
> > to do this as root!!
>
> adduser gets confused about root for some reason. why do you need to
> add root to this group? root can read/write anything anyway so there
> really isn't much of a reason to...
>
> if there is though:
>
> gpasswd -a root lpadmin
>
Good point... I was just being silly and following the CUPS documents.
After reading your post, I just did:
adduser monte lpadmin
which works just fine ;)
Thanks,
Monte
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Reply to: