Easy way/script to add another user like me?

Tommy Trussell tommy.trussell at gmail.com
Fri Feb 24 14:53:57 UTC 2006


On 2/23/06, William Grant <tanarrifujitsu at optusnet.com.au> wrote:
> > On *nix we do things like that on the command line. To
> > give my son (username connor) membership to the same groups as me
> > (username alan) I do this:
> >
> > sudo for i in `groups alan` ; do gpasswd -a connor $i ; done
> >
...
> Yes, I know that you just have to add them to the groups. However, many
> people will prefer to not use the command line! It may be more efficient
> and powerful to use the CLI, but it is more cryptic and harder to
> remember for people that don't know what they are doing.

It might be safest to add a "clone attributes to new user" command,
but copy and paste might be interesting. Here is the idea -- from
within the Users dialog, allow the operator to copy the user
attributes to the clipboard and paste them to another user. I'm sure
there are some potential problems with this -- for example you might
or might not want the person added to another user's personal group.
But what if the information went onto the clipboard in a "human
readable" format suitable for pasting into an email message or
whatever?

Actually, it might be VERY interesting to be able to copy and paste
attributes within any of the GUI dialogs. Imagine how much easier it
might be to assist a user having trouble with Internet settings if you
could ask them to copy and paste them into an email, and they come out
in a readable form that you could correct and ask them to paste back
into the GUI.

But now I'm dreaming...




More information about the ubuntu-users mailing list