Re: sshd & passwd
From: Alan Hadsell (ahadsell@MtDiablo.com)
Date: 12/11/02
- Next message: Nico Kadel-Garcia: "Re: Open SSH with Mandrake/Open SSL install problem."
- Previous message: Frederic Hermann: "Re: sshfs and Solaris?"
- In reply to: t Sänger: "sshd & passwd"
- Next in thread: Nico Kadel-Garcia: "Re: sshd & passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Alan Hadsell <ahadsell@MtDiablo.com> Date: Wed, 11 Dec 2002 13:30:32 GMT
"t Sänger" <saenger@edv.klinik.uni-mainz.de> writes:
> 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?
mkpasswd -l -u test >> /etc/passwd
Note the two ">>". This redirects the output and appends it to the
/etc/passwd file.
-- Alan Hadsell If something's already broken, does it really matter how many pieces it's in? --James Bottomley on lkml
- Next message: Nico Kadel-Garcia: "Re: Open SSH with Mandrake/Open SSL install problem."
- Previous message: Frederic Hermann: "Re: sshfs and Solaris?"
- In reply to: t Sänger: "sshd & passwd"
- Next in thread: Nico Kadel-Garcia: "Re: sshd & passwd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|