LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-30-2005, 06:23 AM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 50
create a new user via ssh


hi

howto create a new user by debian sarge without home directory ?
I've only ssh access via putty.

greetings
cccc

Last edited by cccc; 07-30-2005 at 06:36 AM.
 
Old 07-30-2005, 06:40 AM   #2
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 50
I've found out:

It's very simple:

# useradd newuser
# passwd newuser

but how to create a new gruop and assign this user to the new group ?


Last edited by cccc; 07-30-2005 at 06:42 AM.
 
Old 07-30-2005, 08:58 AM   #3
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL/Fedora, Solaris 11, NetBSD, MacOS
Posts: 223

Rep: Reputation: 42
Have you read the man pages on your system yet?

Try man useradd, read it then look at the 'See Also' section at the end of the page.

Cheers,

Steve
 
Old 07-31-2005, 06:06 AM   #4
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 50
man groupadd helps !
 
Old 08-01-2005, 01:41 PM   #5
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL/Fedora, Solaris 11, NetBSD, MacOS
Posts: 223

Rep: Reputation: 42
Yep,

And man usermod
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 01:08 AM
how can i create a ssh-keygen for user?? yenonn Linux - General 1 06-14-2005 10:37 PM
Create multiple accounts & SSH guptawizard Linux - Newbie 2 01-13-2005 01:27 PM
Create First User krite Linux - Newbie 2 04-03-2004 01:38 AM
how do i create a new user barkers Linux - Newbie 9 05-09-2002 03:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration