Discussion:
root account expired --help
James D. Parra
2004-08-16 18:06:43 UTC
Permalink
Hello,

What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?

Thank you,

James
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
McDougall, Marshall (FSH)
2004-08-16 18:11:09 UTC
Permalink
Boot to Linux rescue. Mount your filesystem as instructed. Change your
password. Reboot. HTH

Regards, Marshall

-----Original Message-----
From: James D. Parra [mailto:***@MusicReports.com]
Sent: Monday, August 16, 2004 1:07 PM
To: Redhat-List (E-mail)
Subject: root account expired --help


Hello,

What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?

Thank you,

James
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Mike Burger
2004-08-16 18:21:55 UTC
Permalink
That's one way to go. Another is to boot into single mode, change the
root password, then "init 3" (or "init 5" if you run X on the system) and
go.
Post by McDougall, Marshall (FSH)
Boot to Linux rescue. Mount your filesystem as instructed. Change your
password. Reboot. HTH
Regards, Marshall
-----Original Message-----
Sent: Monday, August 16, 2004 1:07 PM
To: Redhat-List (E-mail)
Subject: root account expired --help
Hello,
What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?
Thank you,
James
--
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:

site-update-***@bubbanfriends.org

with a message of:

subscribe
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Ed Wilts
2004-08-16 18:45:13 UTC
Permalink
Post by James D. Parra
What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?
Log into a user with sudo access, and the use usermod to change the
root's expiration flag.
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:***@ewilts.org
Member #1, Red Hat Community Ambassador Program
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
alan
2004-08-16 18:18:59 UTC
Permalink
Post by James D. Parra
Hello,
What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?
Hopefully you have physical access to the machine.

Boot the system with a recovery disc of some sort. (There is one for
Fedora, I believe. There are others on the net.)

Mount the disk with the /etc partition on it read/write. Edit /etc/shadow
and remove the password expiration information.

Don't forget to backup the old one in case you bjork it up.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
James D. Parra
2004-08-16 19:16:59 UTC
Permalink
Interesting. There is one other user on this server with only login
credentials. How do I now if it has sudo access?

Thank you.

James


-----Original Message-----
From: Ed Wilts [mailto:***@ewilts.org]
Sent: Monday, August 16, 2004 11:45 AM
To: General Red Hat Linux discussion list
Subject: Re: root account expired --help
Post by James D. Parra
What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?
Log into a user with sudo access, and the use usermod to change the
root's expiration flag.
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:***@ewilts.org
Member #1, Red Hat Community Ambassador Program
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Ed Wilts
2004-08-16 19:31:54 UTC
Permalink
Post by James D. Parra
Interesting. There is one other user on this server with only login
credentials. How do I now if it has sudo access?
$ sudo -l
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:***@ewilts.org
Member #1, Red Hat Community Ambassador Program
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
alan
2004-08-16 19:26:54 UTC
Permalink
Post by James D. Parra
Interesting. There is one other user on this server with only login
credentials. How do I now if it has sudo access?
/etc/sudoers
Post by James D. Parra
Thank you.
James
-----Original Message-----
Sent: Monday, August 16, 2004 11:45 AM
To: General Red Hat Linux discussion list
Subject: Re: root account expired --help
Post by James D. Parra
What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?
Log into a user with sudo access, and the use usermod to change the
root's expiration flag.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
James D. Parra
2004-08-16 19:22:10 UTC
Permalink
I am curious, if I boot in init 1, and it asks for the root password, will
it give the same expired account error?

Thank you,

James


-----Original Message-----
From: Mike Burger [mailto:***@bubbanfriends.org]
Sent: Monday, August 16, 2004 11:22 AM
To: General Red Hat Linux discussion list
Subject: RE: root account expired --help


That's one way to go. Another is to boot into single mode, change the
root password, then "init 3" (or "init 5" if you run X on the system) and
go.
Post by McDougall, Marshall (FSH)
Boot to Linux rescue. Mount your filesystem as instructed. Change your
password. Reboot. HTH
Regards, Marshall
-----Original Message-----
Sent: Monday, August 16, 2004 1:07 PM
To: Redhat-List (E-mail)
Subject: root account expired --help
Hello,
What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?
Thank you,
James
--
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:

site-update-***@bubbanfriends.org

with a message of:

subscribe
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Mike Burger
2004-08-16 19:46:55 UTC
Permalink
Personally, I've never been asked for a password when booting to single
user mode, either via reboot or "init 1".
Post by James D. Parra
I am curious, if I boot in init 1, and it asks for the root password, will
it give the same expired account error?
Thank you,
James
-----Original Message-----
Sent: Monday, August 16, 2004 11:22 AM
To: General Red Hat Linux discussion list
Subject: RE: root account expired --help
That's one way to go. Another is to boot into single mode, change the
root password, then "init 3" (or "init 5" if you run X on the system) and
go.
Post by McDougall, Marshall (FSH)
Boot to Linux rescue. Mount your filesystem as instructed. Change your
password. Reboot. HTH
Regards, Marshall
-----Original Message-----
Sent: Monday, August 16, 2004 1:07 PM
To: Redhat-List (E-mail)
Subject: root account expired --help
Hello,
What a nice way to start a Monday. Tried to log in as root and received,
"Your account has expired; please contact your system administrator". Any
way to correct this?
Thank you,
James
--
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:

site-update-***@bubbanfriends.org

with a message of:

subscribe
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Reuben D. Budiardja
2004-08-16 20:02:12 UTC
Permalink
Post by Mike Burger
Personally, I've never been asked for a password when booting to single
user mode, either via reboot or "init 1".
You have to be root first to be able to do 'init 1'. So reboot is the only way
in this case, and it will not ask for root password.

It's curious that the first few responds was to use linux rescue CD. I never
use linux rescue CD except when I need to fix the boot loader, wrong mount
point stuff that cause kernel panic (ie, after swapping harddrives), or the
system is really messed up that you can't even boot single mode. Most stuffs
can be fixed just by booting to single mode, easier than using linux rescue
CD.

RDB
--
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennesse, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Daniel Widyono
2004-08-16 20:29:57 UTC
Permalink
Post by Reuben D. Budiardja
It's curious that the first few responds was to use linux rescue CD.
[...]
Post by Reuben D. Budiardja
system is really messed up that you can't even boot single mode. Most stuffs
can be fixed just by booting to single mode, easier than using linux rescue
CD.
It's not too curious if you always put this in your inittab:

~:S:wait:/sbin/sulogin /dev/console

Dan W.
--
-- Daniel Widyono http://www.cis.upenn.edu/~widyono
-- Liniac Project, CIS Dept., SEAS, University of Pennsylvania
-- Mail: CIS Dept, 302 Levine 3330 Walnut St Philadelphia, PA 19104
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Greg Wright
2004-08-16 23:21:32 UTC
Permalink
*********** REPLY SEPARATOR ***********
Post by Mike Burger
Personally, I've never been asked for a password when booting to single
user mode, either via reboot or "init 1".
Post by James D. Parra
I am curious, if I boot in init 1, and it asks for the root password,
will
Post by James D. Parra
it give the same expired account error?
And that is why a box requires physical restriction.....if it needs to be
secure that is.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Sites, Brad
2004-08-16 19:28:12 UTC
Permalink
Post by James D. Parra
I am curious, if I boot in init 1, and it asks for the root password,
will it give the same expired account error?
Thank you,
James
init 1 does not require a password.

-Brad Sites
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Loading...