Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - user managing and/or passwd problem !: (2 Items)
   
user managing and/or passwd problem !  
Good day,
I have a problem similar to a post titled “Passwd Trouble - post56074”. I worked with a BSP that is based on “image 
file-system”. The original BSP did not include some account managing files in “/etc” as “group”, “shadow” and “.
pwlock”. I have edited and/or added those missing files into the folder and compiled the BSP. Although “passwd 
new_user” could be invoked, I face with “cannot create password entry” message in each try. Moreover, despite of any 
“passwd” calling for changing the “root” password, the next “login” as “root” does not request the password as 
shown below:

# passwd
changing password for root
New password:
Retype new password:
# login
login: root
# passwd jack
User id # (100) 100
Group id # (100) 100
Real name () jackson
Home directory (/usr/jack) /ssd/jack
Login shell (/bin/sh) 
New password:
Retype new password:
cannot create password entry

Regards,
Re: user managing and/or passwd problem !  
The image file system is read-only, you can only place pre-prepared versions of /etc/group, /etc/passwd and /etc/shadow 
there, these files are not changable at runtime, so passwd utility fails.
For quick-tests, you can startup a RAMdrive and mount it. For persistent storage, you need a writable file system and 
mount it in appropriate place.

Regards,
Al