Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i logged into my linux system as root.i open users & groups and was looking around. i noticed that the root account has been given expiration date as no. of days =0.As i was a newbie ,i did not meddle with it.i didn't know how it got selected.so i just logged out to login into my account.
it said 'it was disabled contact system admin'.i tried root account but it said the same thing .Now i can't login into my linux .Can anybody have any suggestions to enable the root account atleast? i'll be very gratefull.
when you get to your lilo or grub prompt on boot, edit the boot command and add a "1" or "single" to it. This will log you into single user mode as root. you should then be able to run "passwd -u root" to reenable the root account, depending on how it was disabled.
if your using grub
type p is you have a password
once you have loaded the grub type e for edit
there will be a list of items choose the line that starts with the kernel
and at the end of the kernel line add single
if this did not work try putting a space before the single
press [enter] to exit
and type b to boot
if you are using lilo
press [ctrl]+[x ]
type 'linux single' without the quotes
type passwd to change the password or password root
then reboot got it?! £Ä3
kewpie ,can i close my threads?I think this thread won't go any further.So i thought of closing posts to it and just keep it for viewing.thanks in advance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.