oops...deleting a user

I was messing around with “passwd” command and created a few user accounts.
Now I need to delete them! I tried deleting the user folder in home
directory, but password still works… Is there a command to delete users?
If not, what folders/files do I need to trash?

Sorry about this…new to multi-user os…

Rishi

Rishi Oswal <rishi@g-viz.com> wrote:

I was messing around with “passwd” command and created a few user accounts.
Now I need to delete them! I tried deleting the user folder in home
directory, but password still works… Is there a command to delete users?
If not, what folders/files do I need to trash?

delete the user entry in the /etc/passwd file

Chris

Sorry about this…new to multi-user os…

Rishi

adduser could be ported to RTP ? did somebody started already ?
If not I could start doing this.

stefan

kvack wrote:

Previously, Rishi Oswal wrote in qdn.public.qnxrtp.newuser:
I was messing around with “passwd” command and created a few user accounts.
Now I need to delete them! I tried deleting the user folder in home
directory, but password still works… Is there a command to delete users?
If not, what folders/files do I need to trash?

Sorry about this…new to multi-user os…

Rishi



remove the lines with the unwanted users from
/etc/passwd
/etc/shadow

Previously, Rishi Oswal wrote in qdn.public.qnxrtp.newuser:

I was messing around with “passwd” command and created a few user accounts.
Now I need to delete them! I tried deleting the user folder in home
directory, but password still works… Is there a command to delete users?
If not, what folders/files do I need to trash?

Sorry about this…new to multi-user os…

Rishi



remove the lines with the unwanted users from

/etc/passwd
/etc/shadow

Why port it?

Just make adduser an alias to passwd (with appropriate parameters)

Stefan Parvu <sparvu@cc.hut.fi> wrote in message
news:39DC6BF5.FD90F3A3@cc.hut.fi

adduser could be ported to RTP ? did somebody started already ?
If not I could start doing this.

stefan

kvack wrote:

Previously, Rishi Oswal wrote in qdn.public.qnxrtp.newuser:
I was messing around with “passwd” command and created a few user
accounts.
Now I need to delete them! I tried deleting the user folder in home
directory, but password still works… Is there a command to delete
users?
If not, what folders/files do I need to trash?

Sorry about this…new to multi-user os…

Rishi



remove the lines with the unwanted users from
/etc/passwd
/etc/shadow

Well yes. But there are folks which know syntax from BSD systems:

adduser [-check_only]
[-class login_class]
[-config_create]
[-dotdir dotdir]
[-group login_group]
[-h | -help]
[-home home]
[-message message_file]
[-noconfig]
[-shell shell]
[-s | -silent | -q | -quiet]
[-uid uid_start]
[-v | -verbose]



“Steve Munnings, Corman Technologies” wrote:

Why port it?

Just make adduser an alias to passwd (with appropriate parameters)

Stefan Parvu <> sparvu@cc.hut.fi> > wrote in message
news:> 39DC6BF5.FD90F3A3@cc.hut.fi> …
adduser could be ported to RTP ? did somebody started already ?
If not I could start doing this.

stefan

kvack wrote:

Previously, Rishi Oswal wrote in qdn.public.qnxrtp.newuser:
I was messing around with “passwd” command and created a few user
accounts.
Now I need to delete them! I tried deleting the user folder in home
directory, but password still works… Is there a command to delete
users?
If not, what folders/files do I need to trash?

Sorry about this…new to multi-user os…

Rishi



remove the lines with the unwanted users from
/etc/passwd
/etc/shadow

please do, there are so many good apps that we @ Qnx software Systems
just don’t have the time port

Previously, Stefan Parvu wrote in qdn.public.qnxrtp.newuser:
{ Well yes. But there are folks which know syntax from BSD systems:
{
{ adduser [-check_only]
{ [-class login_class]
{ [-config_create]
{ [-dotdir dotdir]
{ [-group login_group]
{ [-h | -help]
{ [-home home]
{ [-message message_file]
{ [-noconfig]
{ [-shell shell]
{ [-s | -silent | -q | -quiet]
{ [-uid uid_start]
{ [-v | -verbose]
{
{
{
{ “Steve Munnings, Corman Technologies” wrote:
{ >
{ > Why port it?
{ >
{ > Just make adduser an alias to passwd (with appropriate parameters)
{ >
{ > Stefan Parvu <sparvu@cc.hut.fi> wrote in message
{ > news:39DC6BF5.FD90F3A3@cc.hut.fi
{ > > adduser could be ported to RTP ? did somebody started already ?
{ > > If not I could start doing this.
{ > >
{ > > stefan

\

Pat Ford email: pford@qnx.com
QNX Software Systems, Ltd. WWW: http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8

I am trying to do my best as long as I have free time. Now in Finland is
7:45pm Thu and it is time to go at home after almost 11h in front of
computer. But look at home I have to open my RTP :slight_smile: at least 2 hours …


stefan

Pat Ford wrote:

please do, there are so many good apps that we @ Qnx software Systems
just don’t have the time port

Previously, Stefan Parvu wrote in qdn.public.qnxrtp.newuser:
{ Well yes. But there are folks which know syntax from BSD systems:
{
{ adduser [-check_only]
{ [-class login_class]
{ [-config_create]
{ [-dotdir dotdir]
{ [-group login_group]
{ [-h | -help]
{ [-home home]
{ [-message message_file]
{ [-noconfig]
{ [-shell shell]
{ [-s | -silent | -q | -quiet]
{ [-uid uid_start]
{ [-v | -verbose]
{
{
{
{ “Steve Munnings, Corman Technologies” wrote:
{
{ > Why port it?
{
{ > Just make adduser an alias to passwd (with appropriate parameters)
{
{ > Stefan Parvu <> sparvu@cc.hut.fi> > wrote in message
{ > news:> 39DC6BF5.FD90F3A3@cc.hut.fi> …
{ > > adduser could be ported to RTP ? did somebody started already ?
{ > > If not I could start doing this.
{
{ > > stefan


Pat Ford email: > pford@qnx.com
QNX Software Systems, Ltd. WWW: > http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8