How do you set up new "users" with Solaris 10
Printable View
How do you set up new "users" with Solaris 10
On Sat, 13 May 2006, Super-User wrote:
[color=blue]
> How do you set up new "users" with Solaris 10[/color]
Use useradd.
--
Rich Teer, SCNA, SCSA, OpenSolaris CAB member
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: [url]http://www.rite-group.com/rich[/url]
On Fri, 12 May 2006 21:57:21 +0000, Rich Teer wrote:
[color=blue]
> On Sat, 13 May 2006, Super-User wrote:
>[color=green]
>> How do you set up new "users" with Solaris 10[/color]
>
> Use useradd.[/color]
Why not give the OP an example?
# useradd -c 'Rich Teer' -d /export/home/rich -m -s /usr/bin/bash rich
# passwd rich
:-))
On Fri, 12 May 2006, Dave Uhring wrote:
[color=blue]
> Why not give the OP an example?[/color]
Good point.
[color=blue]
> # useradd -c 'Rich Teer' -d /export/home/rich -m -s /usr/bin/bash rich[/color]
:s/bash/ksh
(I also use the autmounter, so I'd do a -d /home/rich, but that's a different
discussion!)
:-)
--
Rich Teer, SCNA, SCSA, OpenSolaris CAB member
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: [url]http://www.rite-group.com/rich[/url]
On Sat, 13 May 2006 00:23:48 +0000, Rich Teer wrote:
[color=blue]
> On Fri, 12 May 2006, Dave Uhring wrote:[/color]
[color=blue][color=green]
>> # useradd -c 'Rich Teer' -d /export/home/rich -m -s /usr/bin/bash rich[/color]
>
> :s/bash/ksh[/color]
I thought you might appreciate that.
On Sat, 13 May 2006 09:34:21 +1200 Super-User <nigel-harris@ihug.co.nz> wrote:[color=blue]
> How do you set up new "users" with Solaris 10[/color]
with a shotgun
Rich Teer wrote:[color=blue]
> On Sat, 13 May 2006, Super-User wrote:
>
>[color=green]
>>How do you set up new "users" with Solaris 10[/color]
>
>
> Use useradd.
>[/color]
and there is a graphical version too.
$ smc
<This Computer (...)>
<System Configuration> <Users> (login pops up, log in as root)
<User Accounts>
<Action> <Add User> <With Wizard> fill in the rest
<Primary group>
<Home Directory> /export/home
<exit>
/Jorgen