Please test the Warty release-candidate-candidate

Daniel Stone daniel.stone at canonical.com
Wed Oct 13 08:43:05 UTC 2004


On Wed, Oct 13, 2004 at 10:38:29AM +0200, Martin Pitt wrote:
> volvoguy [2004-10-13  4:18 -0400]:
> > sudo adduser $(getent passwd 1000) scanner
> > 
> > 
> > I get the message "adduser: No more than two names."
> > 
> > Perhaps it's not entirely clear on that page, who needs to do what and when. 
> 
> Thanks for catching this, I just fixed it in the wiki. The $(...)
> construction was wrong; easiest method is to replace it completely by
> the login name of the user you want to grant the group permissions to.

Try "$(getent passwd 1000 | cut -f1 -d:)".

-- 
Daniel Stone                                        <daniel.stone at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041013/12cccddf/attachment.sig>


More information about the ubuntu-users mailing list