SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Hello everyone.Hello everyone.
My root on my slackware cannot loggin.
It gives me the access denied error.I am sure that password is correct.
I can loggin as regular user though.Then when I try to SU it gives me this error:
Cannot execute sh: No such file or directory.
So I go to the passwd file and I see this entry under root.
root:0:0::/root:sh
Is that right?
What can I do to workaround the problem?
Thank you.
My root on my slackware cannot loggin.
It gives me the access denied error.I am sure that password is correct.
I can loggin as regular user though.Then when I try to SU it gives me this error:
Cannot execute sh: No such file or directory.
So I go to the passwd file and I see this entry under root.
root:x:0:0::/root:sh
Is that right?
What can I do to workaround the problem?
Thank you.
Hello everyone.Hello everyone.
My root on my slackware cannot loggin.
It gives me the access denied error.I am sure that password is correct.
I can loggin as regular user though.Then when I try to SU it gives me this error:
Cannot execute sh: No such file or directory.
So I go to the passwd file and I see this entry under root.
root:0:0::/root:sh
Is that right?
What can I do to workaround the problem?
Thank you.
My root on my slackware cannot loggin.
It gives me the access denied error.I am sure that password is correct.
I can loggin as regular user though.Then when I try to SU it gives me this error:
Cannot execute sh: No such file or directory.
So I go to the passwd file and I see this entry under root.
root:x:0:0::/root:sh
Is that right?
What can I do to workaround the problem?
Thank you.
I had a similar problem (caused by my own ham-handedness) I fixed it by booting up Slax and editing the passwd and shadow files by hand. I'm not on linux right now, but maybe someone else can post the correct format for you. If not I'll boot it up, and post mine for you.
You can also use Slackware's CDs to boot then mount the partition and edit the file, no need for extra CDs, Slackware installation disks are minimal live cds
You can also use Slackware's CDs to boot then mount the partition and edit the file, no need for extra CDs, Slackware installation disks are minimal live cds
that's 2 things I've learned today while trying to help someone else. Thanks!
Just boot with Slackware CD 1 and don't run setup. Once you boot, mount your root partition and edit the file.
IE: if your root partition is hda1 you should do something like:
Code:
mount /dev/hda1 /mnt
vi /mnt/etc/passwd
I don't remember which editors are available when booting from Slackware CD 1 but i'm pretty sure vi is there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.