hi all,

i added tinylogin to my MCF5307 uclinux FW.


I prepared passwd and group files on romfs, with root user with no pasword set 
for it.

I can login as root, then i mount /etc as ramdisk, copy on it all config files 
and try "passwd" to set the root passwrd, this is what i get


/etc # passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Re-enter new password:
/etc/passwd: Permission denied
Nov 30 00:09:45 passwd[67]: an error occurred updating the password file
passwd: An error occurred updating the password file.
/etc #

this is the etc folder with permissions:

/etc # ls -al
drwxr-xr-x    2 root     root         1024 Nov 30 00:03 .
drwxr-xr-x    1 root     root           32 Jan  1  1970 ..
-rw-r--r--    1 root     root           22 Nov 30 00:03 group
-rw-r--r--    1 root     root           45 Nov 30 00:03 inetd.conf
-rw-r--r--    1 root     root           60 Nov 30 00:03 inittab
-rw-r--r--    1 root     root          288 Nov 30 00:03 motd
-rw-r--r--    1 root     root          107 Nov 30 00:03 passwd
-rw-r--r--    1 root     root         3132 Nov 30 00:03 ramfs.img
-rwxr-xr-x    1 root     root          507 Nov 30 00:03 rc
-rw-r--r--    1 root     root         8205 Nov 30 00:03 services
-rw-r--r--    1 root     root           61 Nov 30 00:03 version
/etc #


any help is really appreciated,
thank
angelo

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to