public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] adduser_help
@ 2001-07-06  2:22 Karshi
  2001-07-06  3:12 ` Prakash Shetty aka Crux
  2001-07-07  8:48 ` Achim Gottinger
  0 siblings, 2 replies; 3+ messages in thread
From: Karshi @ 2001-07-06  2:22 UTC (permalink / raw
  To: gentoo-dev

 It might sound very simple, but I am having hard time to add a user.
It creates a user but does not allow to login. Also, it says that "-d"
option is not supported  use "-m"
command, when I tried to create a home directory for a user.

 Can you tell me what's the best/right way of using adduser command?
I am still logging in as a root.
Thanks




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] adduser_help
  2001-07-06  2:22 [gentoo-dev] adduser_help Karshi
@ 2001-07-06  3:12 ` Prakash Shetty aka Crux
  2001-07-07  8:48 ` Achim Gottinger
  1 sibling, 0 replies; 3+ messages in thread
From: Prakash Shetty aka Crux @ 2001-07-06  3:12 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-dev

Dear Karshi,

useradd -m -G users,wheel foo  -d /home/foo

Best Regards
Prakash Shetty
Karshi wrote:

> It might sound very simple, but I am having hard time to add a user.
>It creates a user but does not allow to login. Also, it says that "-d"
>option is not supported  use "-m"
>command, when I tried to create a home directory for a user.
>
> Can you tell me what's the best/right way of using adduser command?
>I am still logging in as a root.
>Thanks
>
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@cvs.gentoo.org
>http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
>





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] adduser_help
  2001-07-06  2:22 [gentoo-dev] adduser_help Karshi
  2001-07-06  3:12 ` Prakash Shetty aka Crux
@ 2001-07-07  8:48 ` Achim Gottinger
  1 sibling, 0 replies; 3+ messages in thread
From: Achim Gottinger @ 2001-07-07  8:48 UTC (permalink / raw
  To: gentoo-dev

Karshi wrote:
> 
>  It might sound very simple, but I am having hard time to add a user.
> It creates a user but does not allow to login. Also, it says that "-d"
> option is not supported  use "-m"
> command, when I tried to create a home directory for a user.
> 
>  Can you tell me what's the best/right way of using adduser command?
> I am still logging in as a root.
> Thanks
> 
useradd -m [username] # creates the homedir for the user
if you want to allow the user to su you must ad -G users.wheel like
prakash described

bye achim~

> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-07 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-06  2:22 [gentoo-dev] adduser_help Karshi
2001-07-06  3:12 ` Prakash Shetty aka Crux
2001-07-07  8:48 ` Achim Gottinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox