rmuser error - shared memory

Lubomir Matousek lubos.matousek at lubnet.net
Mon Feb 18 11:57:07 UTC 2008


Thanks very much Bill and James. Hana vs hanka is only typo at this mail
(hana is correct, as it is in my box).
I apologize for this incorrect information.


Bill, you are right, the kernel was build without shared memory support.
Option SYSVSHM is not included in the kernel.

As I cannot recompile the kernel on this production server now, can be there
any impact on instability of my system with missing SYSVSHM option?



-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Bill Moran
Sent: Saturday, February 16, 2008 6:04 PM
To: oscartheduck at gmail.com
Cc: Lubomir Matousek; freebsd-questions at freebsd.org
Subject: Re: (no subject)

James <oscartheduck at gmail.com> wrote:
>
> 
> On Sat, 2008-02-16 at 09:11 +0100, Lubomir Matousek wrote:
> > Dear list, 
> > 
> >  
> > 
> > I have the following problem when using rmuser (freebsd 6.2)
> > 
> >  
> > 
> > ----------
> > 
> > rmuser -v hana
> > 
> > Matching password entry:
> > 
> >  
> > 
> > hana:*:1091:1092::0:0:/usr/home/hana:/usr/sbin/nologin
> > 
> >  
> > 
> > Is this the entry you wish to remove? yes Remove user's home directory
> > (/usr/home/hanka)? yes Removing crontab for (hana):.
> > 
> > Removing at(1) jobs owned by (hana): 0 removed.
> > 
> > Removing IPC mechanismsipcs: sysctlbyname: kern.ipc.shmmax: No such file
or
> > directory
> > 
> > ipcs: sysctlbyname: kern.ipc.shmmax: No such file or directory
> > 
> > ipcs: sysctlbyname: kern.ipc.shmmax: No such file or directory .
> > 
> > Terminating all processes owned by (hana): -KILL signal sent to 0
processes.
> > 
> > Removing files owned by (hana) in /tmp: 0 removed.
> > 
> > Removing files owned by (hana) in /var/tmp: 0 removed.
> > 
> > Removing mail spool(s) for (hana): /var/mail/hana.
> > 
> > Removing user (hana) (including home directory) from the system: Done.
> > 
> > -----------
> > 
> >  
> > 
> > The problem started, when I accidentaly deleted /usr/home directory and
I
> > had to create a new one. I checked /etc/password file and the direcory
> > existed before using rmuser. Can anybody help please?
> > 
> >  
> > 
> > 
> > 
> > Lubos
> 
> 
> Looks like the problem is that somewhere within there it's expected that
> the home directory isn't /usr/home/hana, it's /usr/home/hanka
> 
> Have you checked /etc/master.passwd to make sure that there's no
> mis-entry in there? Or just try creating /usr/home/hanka and see if it
> works itself out.

Personally, I'm unsure where the "problem" is.  The only suspicious thing
I see is the inability to remove shared memory segments, which is a bit
strange but not wholly unexpected.  Did you build a kernel without shared
memory?

-- 
Bill Moran
http://www.potentialtech.com
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list