Re: sshd & passwd
From: Liam Cunningham (liam@consumercontact.com)
Date: 12/11/02
- Next message: Hisashi T Fujinaka: "Is the s/key source server down?"
- Previous message: Trent Creekmore: "Re: PDA that can do SSH?"
- In reply to: t Sänger: "sshd & passwd"
- Next in thread: t Sänger: "Re: sshd & passwd"
- Reply: t Sänger: "Re: sshd & passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Liam Cunningham" <liam@consumercontact.com> Date: Wed, 11 Dec 2002 11:28:57 -0500
On Wed, 11 Dec 2002 12:01:52 +0100, t Sänger wrote:
> Hello
> I am using cygwin with sshd.
> My problem is, if i want to add an new user into my passwd with the
> following command:
> mkpasswd -l -u test > /etc/passwd
> all existing users will be deleted.
> What do i have to do, that i can add a user and the old ones keeps alive?
>
> Sorry for my bad english.
>
> Thanx
> Tobias
As has been stated, your problem is with ">". This tells the shell to open
a new file for output, if the file exists it will be deleted.
">>" will open a file for appending and if the file does not exit, it will
be created.
By the way, your english is much, much better than my german :-)
-- If at first you don't succeed, read the manual......
- Next message: Hisashi T Fujinaka: "Is the s/key source server down?"
- Previous message: Trent Creekmore: "Re: PDA that can do SSH?"
- In reply to: t Sänger: "sshd & passwd"
- Next in thread: t Sänger: "Re: sshd & passwd"
- Reply: t Sänger: "Re: sshd & passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|