tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Wolf, Mark W." <mwwolf () escocorp ! com>
To: tru64-unix-managers
Subject: SUMMARY: Adding users
Date: Thu, 15 Feb 2001 06:57:33 +0000	[thread overview]
Message-ID: <98222040416050.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C0971C.92031D50", Size: 9444 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0971C.92031D50
Content-Type: text/plain;
	charset="iso-8859-1"

 

Thanks to Kat,Wayne, Kamal, Devin for the help.  
 
All pointed me to this solution. 
 

delete the file 
 
/etc/.AM_is_running
 
and you should be OK...

And from your friendly command line is our friend guru  
                                        John Tan



Yes, I think that is right ... dxaccounts will not work when another user is
using it.  You can get on as root, use ps -aux to find the process using it,
kill that process, and then the GUI interface will work.  I don't know if
there is a lock file associated with dxaccounts; if there is, you might have
to delete an empty file to call up the GUI interface.
 
Otherwise, you should be able to use commands like useradd or adduser from
the command line interface.
 
Alternatively, use the traditional way of editing /etc/passwd, /etc/groups,
creating the HOME directory of the user, and using the passwd command to set
the user's password.  This should always work.  :-)
 
-----Original Message-----
From: Wolf, Mark W. [mailto:mwwolf@escocorp.com]
Sent: Thursday, February 15, 2001 4:55 PM
To: 'tru64-unix-managers@ornl.gov'
Subject: Adding users



I am a Unix Admin in training.  And I am having a small problem.  I am
trying it add a user and for some reason it won't let me. 

I am using the GUI to add users and I am logged in as root.  I have tried to
add users under my own login name and it won't let me do that either( I used
to be able to). It say I don't have permission to do so. I used to.  

When I log in as root it won't even open up the GUI interface to add user.
click on it and it asks if you want to use it as the logged in name or root.
Either choice (when logged in as root) is root and the gui never opens.  

I have tried to start dxaccounts from the command line and it says the the
passwd and group files are locked by another user.  This server is used for
training purposes so the need is not critical. It is used by myself and one
other person.......


Any insight or suggestion to resolve this issue would be appriciated.  I
will be here all night hoping that there are a few other night owls out
there or your on the other side of the planet and it your day time:)

Thanks in advance. 


Mark W. Wolf 
Computer Operations 
ESCO Corporation 
Phone 503-778-6278 
mwwolf@escocorp.com 


------_=_NextPart_001_01C0971C.92031D50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Adding users</TITLE>

<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR></HEAD>
<BODY>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
size=3D2><FONT=20
  color=3D#0000ff><FONT face=3DArial><SPAN =
class=3D453185206-15022001>Thanks to=20
  Kat,Wayne, Kamal, Devin for the help.&nbsp; =
</SPAN></FONT></FONT></FONT></DIV>
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
size=3D2><FONT=20
  color=3D#0000ff><FONT face=3DArial><SPAN=20
  class=3D453185206-15022001></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><SPAN=20
  class=3D453185206-15022001></SPAN><FONT size=3D2><FONT =
color=3D#0000ff><FONT=20
  face=3DArial><SPAN class=3D453185206-15022001>All pointed me to this =
solution.=20
  </SPAN></FONT></FONT></FONT></DIV>
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
size=3D2><FONT=20
  color=3D#0000ff><FONT face=3DArial><SPAN=20
  class=3D453185206-15022001></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><SPAN=20
  class=3D453185206-15022001></SPAN>
  <DIV><SPAN class=3D267425805-15022001><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2>delete the file </FONT></SPAN></DIV>
  <DIV><SPAN class=3D267425805-15022001></SPAN><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2>&nbsp;</FONT></DIV>
  <DIV><SPAN class=3D267425805-15022001><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2>/etc/.AM_is_running</FONT></SPAN></DIV>
  <DIV><SPAN class=3D267425805-15022001></SPAN><FONT color=3D#0000ff =
face=3DArial=20
  size=3D2>&nbsp;</FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20
  class=3D267425805-15022001>and you should be=20
  OK...<BR></SPAN></FONT></FONT></FONT><FONT size=3D2><FONT =
color=3D#0000ff><FONT=20
  face=3DArial><SPAN class=3D267425805-15022001><SPAN=20
  class=3D453185206-15022001></SPAN></SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT color=3D#0000ff><FONT face=3DArial><SPAN=20
  class=3D267425805-15022001><SPAN class=3D453185206-15022001>And from =
your friendly=20
  command line is our friend=20
  guru&nbsp;&nbsp;</SPAN></SPAN></FONT></FONT></FONT></DIV>
  <DIV><SPAN class=3D267425805-15022001><SPAN=20
  class=3D453185206-15022001></SPAN></SPAN><FONT size=3D2><FONT =
color=3D#0000ff><FONT=20
  face=3DArial><SPAN=20
  =
class=3D453185206-15022001>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  John Tan</SPAN><BR><BR></FONT></FONT></FONT></DIV></DIV>
  <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D518372606-15022001>Yes, I think that is right ... =
dxaccounts will not=20
    work when another user is using it.&nbsp; You can get on as root, =
use ps=20
    -aux to find the process using it, kill that process, and then the =
GUI=20
    interface will work.&nbsp; I don't know if there is a lock file =
associated=20
    with dxaccounts; if there is, you might have to delete an empty =
file to call=20
    up the GUI interface.</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D518372606-15022001></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D518372606-15022001>Otherwise, you should be able to use =
commands like=20
    useradd or adduser from the command line =
interface.</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D518372606-15022001></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D518372606-15022001>Alternatively, use the traditional way =
of editing=20
    /etc/passwd, /etc/groups, creating the HOME directory of the user, =
and using=20
    the passwd command to set the user's password.&nbsp; This should =
always=20
    work.&nbsp; :-)</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D518372606-15022001></SPAN></FONT>&nbsp;</DIV>
    <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> Wolf, Mark W.=20
    [mailto:mwwolf@escocorp.com]<BR><B>Sent:</B> Thursday, February 15, =
2001=20
    4:55 PM<BR><B>To:</B> =
'tru64-unix-managers@ornl.gov'<BR><B>Subject:</B>=20
    Adding users<BR><BR></DIV></FONT>
    <P><FONT face=3DArial size=3D2>I am a Unix Admin in training.&nbsp; =
And I am=20
    having a small problem.&nbsp; I am trying it add a user and for =
some reason=20
    it won't let me. </FONT></P>
    <P><FONT face=3DArial size=3D2>I am using the GUI to add users and =
I am logged=20
    in as root.&nbsp; I have tried to add users under my own login name =
and it=20
    won't let me do that either( I used to be able to). It say I don't =
have=20
    permission to do so. I used to.&nbsp; </FONT></P>
    <P><FONT face=3DArial size=3D2>When I log in as root it won't even =
open up the=20
    GUI interface to add user.&nbsp; click on it and it asks if you =
want to use=20
    it as the logged in name or root.&nbsp; Either choice (when logged =
in as=20
    root) is root and the gui never opens.&nbsp; </FONT></P>
    <P><FONT face=3DArial size=3D2>I have tried to start dxaccounts =
from the command=20
    line and it says the the passwd and group files are locked by =
another=20
    user.&nbsp; This server is used for training purposes so the need =
is not=20
    critical. It is used by myself and one other =
person.......</FONT></P><BR>
    <P><FONT face=3DArial size=3D2>Any insight or suggestion to resolve =
this issue=20
    would be appriciated.&nbsp; I will be here all night hoping that =
there are a=20
    few other night owls out there or your on the other side of the =
planet and=20
    it your day time:)</FONT></P>
    <P><FONT face=3DArial size=3D2>Thanks in advance. </FONT></P><BR>
    <P><I><FONT color=3D#000000 face=3D"Comic Sans MS" size=3D2>Mark W. =

    Wolf<B></B></FONT></I><B></B> <BR><FONT color=3D#000000 =
face=3DArial=20
    size=3D1>Computer Operations </FONT><BR><FONT face=3DArial =
size=3D1>ESCO=20
    Corporation</FONT> <BR><FONT face=3DArial size=3D1>Phone =
503-778-6278</FONT>=20
    <BR><FONT face=3DArial size=3D1>mwwolf@escocorp.com</FONT>=20
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C0971C.92031D50--

                 reply	other threads:[~2001-02-15  6:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox