Re: Re : Re: Re : RE: please help me: problems for users!

1998-12-02 Thread Carey Evans
[EMAIL PROTECTED] (Patrick RICHARD) writes:

> Hi,
> 
> The files /etc/group and etc/passwd are OK. I use the shadow mode (password 
> field = x in the file /etc/passwd).

OK then, what are the permissions of the files?  Mine are:

$ ls -l /etc/passwd /etc/shadow /etc/group
-rw-r--r--   1 root root  577 Nov 26 22:59 /etc/group
-rw-r--r--   1 root root 1434 Aug  9 22:50 /etc/passwd
-rw-r-   1 root shadow957 Jan 25  1998 /etc/shadow

If this doesn't help, try something like:

$ strace -o vi.log -e file vi temp

and quit after getting the error?  This will list the errors (look for 
E? symbols in the output) that vi gets accessing the files.

-- 
 Carey Evans  http://home.clear.net.nz/pages/c.evans/

"Is there anyone who actually believes that USAicans are so modest or
intellectually honest as to be unable to find someone to sue?" - Cameron Laird


Re : Re: Re : RE: please help me: problems for users!

1998-12-01 Thread Patrick RICHARD
Hi,

The files /etc/group and etc/passwd are OK. I use the shadow mode (password 
field = x in the file /etc/passwd).
As I wrote it in my first mail when an user (except root) runs the editor 
"vi" one can read the message
"Information on user id 1000 not found.   
Modifications not recoverable if the session fails"
In fact when the session fails a mail is sent to the user. In this mail one 
can read something like that
"vi -r nameofthefile to recorver the file...". So I do not think that my 
problem is a password one but 
a mail configuration one, but I am not am expert. (It is perharps for the 
same reason that xlock crashes for a non-root user!)

Any help would be great!

Patrick Richard, France

/etc/group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:lp
mail:x:8:
news:x:9:
uucp:x:10:
proxy:x:13:
kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:
dip:x:30:
majordom:x:31:majordom
postgres:x:32:
www-data:x:33:
backup:x:34:
msql:x:36:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
staff:x:50:
games:x:60:
qmail:x:70:
users:x:100:
nogroup:x:65534:
patrick:x:1000:
netplan:x:63434:
croque:x:1001:
utilisateurs:x:101:
croque2:x:1002:

and a line of /etc/passwd
patrick:x:1000:101:Patrick RICHARD,,,:/home/patrick:/bin/csh

___
>M.C. Vernon wrote:
>> On Tue, 1 Dec 1998, Mitch Blevins wrote:
>> 
>> > M.C. Vernon wrote:
>> > > On Tue, 1 Dec 1998, Patrick RICHARD wrote:
>> > > 
>> > > > I choose the shadow mode and I create the new users with the 
command 
>> > > > "adduser"
>> > > 
>> > > Can you post /etc/passwd and /etc/group, please?
>> > 
>> > Please post your private PGP key and pass phrase also. ;)
>> 
>> Red herring. If he uses shadow passwords, then the password field mearly
>> contains an x. If he doesn't, then it is only a one-way hash. Having said

>> that, he claims to use shadow, so this shouldn't matter.
>
>This is true.  It escaped me that he was using shadow mode.  Let's hope
>he is right about that.  The one-way hashes would be easily brute-forced
>with a local copy of them.
>