Re: passwd: /sbin/nologin --- not working for me

2005-10-24 Thread morla

thank u all, (this comes a little late, sorry i had no internet con.)
i seem to have totally forgotten about the passwd-db. YES i have edited 
them all with vi

i removed my entrys and did them again with vipw.
now all works very fine :)

thx morla



Re: passwd: /sbin/nologin --- not working for me

2005-10-21 Thread Huzeyfe ONAL

Hi,
#pwd_mkdb /etc/master.passwd
to generate the new password database and try again.

morla wrote:

hello all,

i just made up a second account on my box and wanted to prevent the 
old one from loging into it, due i want to keep it for email retrival.


when i enter something like

 morla:*:1000:1000:morla:/home/morla:/sbin/nologin

into /etc/passwd and a similary entry into /etc/master.passwd 
should'nt this keep me out???


please be carefull with me, i am realtily new to bsd...


thanks all morla




Re: passwd: /sbin/nologin --- not working for me

2005-10-21 Thread steven mestdagh
On Fri, Oct 21, 2005 at 07:53:52AM +0200, morla wrote:
 hello all,
 
 i just made up a second account on my box and wanted to prevent the old 
 one from loging into it, due i want to keep it for email retrival.
 
 when i enter something like
 
  morla:*:1000:1000:morla:/home/morla:/sbin/nologin
 
 into /etc/passwd and a similary entry into /etc/master.passwd should'nt 
 this keep me out???

did you use vipw(8) ?  this automatically updates the user database.


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: passwd: /sbin/nologin --- not working for me

2005-10-21 Thread Marcus Popp
On 2005-10-21T07:53, morla wrote:
 hello all,
 
 i just made up a second account on my box and wanted to prevent the old 
 one from loging into it, due i want to keep it for email retrival.
 
 when i enter something like
 
  morla:*:1000:1000:morla:/home/morla:/sbin/nologin
 
 into /etc/passwd and a similary entry into /etc/master.passwd should'nt 
 this keep me out???
 
 please be carefull with me, i am realtily new to bsd...

have you used vipw? Thats all you need to change settings in,
and only in, the /etc/master.passwd! Otherwise you have to rebuild
the passwd db by hand.
Read VIPW(8) for more information.

hth,

Marcus.



Re: passwd: /sbin/nologin --- not working for me

2005-10-21 Thread Otto Moerbeek
On Fri, 21 Oct 2005, morla wrote:

 hello all,
 
 i just made up a second account on my box and wanted to prevent the old one
 from loging into it, due i want to keep it for email retrival.
 
 when i enter something like
 
  morla:*:1000:1000:morla:/home/morla:/sbin/nologin
 
 into /etc/passwd and a similary entry into /etc/master.passwd should'nt this
 keep me out???
 
 please be carefull with me, i am realtily new to bsd...

NEVER edit passwd or master.passwd directly. Use vipw or the various
user management programs. 

The password entries are stored into a db that needs to be
regenerated. The programs take care of that.

-Otto



Re: passwd: /sbin/nologin --- not working for me

2005-10-21 Thread frantisek holop
hmm, on Fri, Oct 21, 2005 at 07:53:52AM +0200, morla said that
 i just made up a second account on my box and wanted to prevent the old 
 one from loging into it, due i want to keep it for email retrival.

i am not 100% sure what retrival means, but if you want to
keep the account only for receiving email, you might consider
creating an email alias (/etc/aliases) instead...

-f
-- 
real programmers use copy com1 program.zip and whistle.



Re: passwd: /sbin/nologin --- not working for me

2005-10-21 Thread Brian A. Seklecki
You said you entered into those files.  Did you vi(1) them mnaually? 
Did you rebuild the database afterward?  When you finger the user, what 
does the shell show up as?  Use either vipw(8) as root, to do this, or 
use chfn(1) as the user.


~BAS

On Fri, 21 Oct 2005, morla wrote:


hello all,

i just made up a second account on my box and wanted to prevent the old one 
from loging into it, due i want to keep it for email retrival.


when i enter something like

morla:*:1000:1000:morla:/home/morla:/sbin/nologin

into /etc/passwd and a similary entry into /etc/master.passwd should'nt this 
keep me out???


please be carefull with me, i am realtily new to bsd...


thanks all morla




l8*
-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8