Discussion:
amanda This account is currently not available.
tom
2002-06-07 17:29:03 UTC
Permalink
first off I'm real real green at this Unix stuff. Person that used to take
care of this where I work left and now someone forgot to change the tape and
I need to perform an amflush.

When I go to do this I get this error message " amflush: must run amflush as
user amanda "

I try and login as amanda and I get this error message " This account is
currently not available."

How do I make the amanda account available so I can do the flush?


Tom Spencer, Technical Support Specialist
***@eagle.ca
================================
© 1995-1999 Northumbria EAGLE
PO Box 220
26 Chapel Street
Cobourg, ON
Canada
K9A 4K5
ph: (905) 373-9313
fax:(905) 373-1801
Dan Debertin
2002-06-07 17:50:44 UTC
Permalink
Post by tom
I try and login as amanda and I get this error message " This account is
currently not available."
How do I make the amanda account available so I can do the flush?
Sounds like you're using FreeBSD, or another Unix that defaults the
shell to a "nologin" script.

You just need to change amanda's shell (the last field in /etc/passwd)
to something valid, like /bin/sh or similar. The command is, depending
on your OS:

chsh
usermod
vipw # if the above two don't work
vi /etc/passwd # last resort


Dan
--
***@nodewarrior.org
www.nodewarrior.org
ignorami: n:
The art of folding problem users into representational shapes.
tom
2002-06-08 13:04:16 UTC
Permalink
It was the shell access. It was there but not spelled correctly. adjusted
the spelling and it worked great.

Thanks for your help. I did the flush and last nights tape check went fine.
Thank's again for your help.


--



Tom Spencer, Technical Support Specialist
***@eagle.ca
================================
© 1995-1999 Northumbria EAGLE
PO Box 220
26 Chapel Street
Cobourg, ON
Canada
K9A 4K5
ph: (905) 373-9313
fax:(905) 373-1801
Post by Dan Debertin
Post by tom
I try and login as amanda and I get this error message " This account is
currently not available."
How do I make the amanda account available so I can do the flush?
Sounds like you're using FreeBSD, or another Unix that defaults the
shell to a "nologin" script.
You just need to change amanda's shell (the last field in /etc/passwd)
to something valid, like /bin/sh or similar. The command is, depending
chsh
usermod
vipw # if the above two don't work
vi /etc/passwd # last resort
Dan
--
www.nodewarrior.org
The art of folding problem users into representational shapes.
Stephen Carville
2002-06-07 18:09:30 UTC
Permalink
On Fri, 7 Jun 2002, tom wrote:

- first off I'm real real green at this Unix stuff. Person that used to take
- care of this where I work left and now someone forgot to change the tape and
- I need to perform an amflush.
-
- When I go to do this I get this error message " amflush: must run amflush as
- user amanda "
-
- I try and login as amanda and I get this error message " This account is
- currently not available."
-
- How do I make the amanda account available so I can do the flush?

What platform?

As root, try 'su - amanda'.

I never allow logins as amanda and setup the system so backup
operators can su to the amanda user via sudo.

If the above does not work then you may need to create the user.
Check the amadna directory to get the correct uid and gid.
--
-- Stephen Carville
UNIX and Network Administrator
DPSI (formerly Ace USA Flood Services)
310-342-3602
***@totalflood.com
Brandon D. Valentine
2002-06-07 18:10:30 UTC
Permalink
Post by tom
first off I'm real real green at this Unix stuff. Person that used to take
care of this where I work left and now someone forgot to change the tape and
I need to perform an amflush.
When I go to do this I get this error message " amflush: must run amflush as
user amanda "
I try and login as amanda and I get this error message " This account is
currently not available."
How do I make the amanda account available so I can do the flush?
You can likely work the appropriate mojo by running (as root):

su - amanda -c "/usr/local/sbin/amflush Config"

Of course adjust /usr/local/sbin to point to your amanda installation if
it differs and Config should be Daily, Monthly, or what have you.
--
Brandon D. Valentine <***@structbio.vanderbilt.edu>
Computer Geek, Center for Structural Biology

"This isn't rocket science -- but it _is_ computer science."
- Terry Lambert on ***@FreeBSD.org.
Loading...