delete / new user account

Hello there. A few days ago I installed QNX RTP. While installing I got my
user account as “root”. Somehow I managed to install an other user account
“test” as well. Maybe I forgot the password for “test” and so I don’t have
access to log in as “test” anymore, but the folder “/home/test” is still in
the filesystem. How can I clean up the system (delete the user “test” and
delete all his files) and then install an other user again (now remembering
the password)? Is there a file where all the users and passwords are listed?

Thank you.

regards,

Nnamdi

To change the password for a user, as root do a passwd
It will prompt for the new password, or creat the account if
not there.

To delete an account, just rm -r the user’s directory and
edit /etc/passwd (and probably /etc/shadow) to remove the
user entry there. Be very carefull on this - u can really
hose your system…


Previously, Nnamdi Kohn wrote in qdn.public.qnxrtp.newuser:

Hello there. A few days ago I installed QNX RTP. While installing I got my
user account as “root”. Somehow I managed to install an other user account
“test” as well. Maybe I forgot the password for “test” and so I don’t have
access to log in as “test” anymore, but the folder “/home/test” is still in
the filesystem. How can I clean up the system (delete the user “test” and
delete all his files) and then install an other user again (now remembering
the password)? Is there a file where all the users and passwords are listed?

Thank you.

regards,

Nnamdi
\


David L. Hawley D.L. Hawley and Associates

Thanks, David, but everytime when I deleted the user’s folder, delete the
user’s entry in /etc/passwd , /etc/npasswd , /etc/oshadow and in /etc/shadow
and type in passwd , after some questions about user id, directory
and group there is the message “cannot create password entry”. What can I
do? What does the entry nobody:x:99:99:Nobody:/: in e.g. /etc/passwd mean?
Could I erase it?


Previously, David Hawley wrote in qdn.public.qnxrtp.newuser:

To change the password for a user, as root do a passwd <user
It will prompt for the new password, or creat the account if
not there.

To delete an account, just rm -r the user’s directory and
edit /etc/passwd (and probably /etc/shadow) to remove the
user entry there. Be very carefull on this - u can really
hose your system…


Previously, Nnamdi Kohn wrote in qdn.public.qnxrtp.newuser:
Hello there. A few days ago I installed QNX RTP. While installing I got
my
user account as “root”. Somehow I managed to install an other user
account
“test” as well. Maybe I forgot the password for “test” and so I don’t
have
access to log in as “test” anymore, but the folder “/home/test” is still
in
the filesystem. How can I clean up the system (delete the user “test”
and
delete all his files) and then install an other user again (now
remembering
the password)? Is there a file where all the users and passwords are
listed?

Thank you.

regards,

Nnamdi

Nnamdi Kohn schrieb:

… there is the message “cannot create password entry”…

Did you solve this problem? If so please let me know how.

Testing ‘passwd’ results in a state of my development system where
besides the files ‘passwd’ and ‘shadow’ also the file ‘npasswd’ exits.
The file ‘.pwdlock’ in the online-help mentioned doesn’t exist.
Creating a new user is refused with the message ‘cannot create password
entry’. Although a new password for root is accepted it isn’t active at
next boot time.
Do I have to install QNX RTP on my development system again in order
that ‘passwd’ works again?

The same phenomenon is shown by my target system the flash disk of which
is too small for QNX RTP.
Where should I take the files ‘passwd’ and ‘shadow’ for it from if I
want to use ‘passwd’ on it?

\

Thomas Nittel

mailto:Thomas.Nittel@t-online.de