Home > Archive > PostgreSQL Bugs > May 2005 > adding users to sshd









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author adding users to sshd
shd@t2.technion.ac.il

2005-05-27, 9:23 am

i am trying to find information on how to add users so they could login with
sshd, and also when adding the users it would be shown in /etc/passwd and i
will be able to do "passwd user", some told me to install postgres and i did
and i created db and everything but that didn't help, any place to reffer ?
thanks in advance.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Lasantha Kularatne

2005-05-30, 3:23 am


Hi
Your problem is not clear for me.
(1). Do you want to add system users into the Unix/Linux system? OR
(2). Do you want to create a db user for the pgsql system?

In case 1,
$useradd username
$passwd username
To set the home
$mkdir /home/username
$chown username /home/username

In case 2,
$/usr/local/pgsql/bin/createuser -P username
and enter the password.

Hope I get your question right and this will help you.
If this is not the one you are looking for, I beg your pardon.

Regards,

Lasantha Kularatne
Software Engineer
CodeGen.IT
7, Cambridge Terrace, Colombo 07, Sri Lanka.
Tel: +94 11 2686893 Ext: 106
www.codegen.it




-----Original Message-----
From: pgsql-bugs-owner@postgresql.org
[mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of shd@t2.technion.ac.il
Sent: Friday, May 27, 2005 6:01 AM
To: pgsql-bugs@postgresql.org
Subject: [BUGS] adding users to sshd

i am trying to find information on how to add users so they could login with
sshd, and also when adding the users it would be shown in /etc/passwd and i
will be able to do "passwd user", some told me to install postgres and i did
and i created db and everything but that didn't help, any place to reffer ?
thanks in advance.


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq





---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com