Problem with change from "su" to "user" in Slack 14.0
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.
Problem with change from "su" to "user" in Slack 14.0
Installing Slack 14.0 over 13.37,got confused during process by new choice to download user/suser during installation setup.I ended up with bootup as su. I want to be able to bootup with my old username as before
'adduser' won't work as the name is already in the system. I want to start Slack 14.0 as 'user' as with 13.37 and retain my old username. what buttons must I push?
If I'm understanding what you did properly, it seems you removed your user from /etc/passwd, so you will have to re-add the user. I don't see how "adduser" wouldn't work.
If you're prepared to do open-heart surgery, you can, as 'root', simply edit /etc/passwd and change the user name directly. Don't do this unless you know EXACTLY what you are doing. And use a proper text file editor like 'vi', 'emacs' or 'nano'. You'll probably muck up the file format if you use a word processor (libreoffice, koffice etc).
I may be missing something here, but if the name is already in the system, that suggests a couple of possibilities:
1. the UID associated with the name is not the same in 14.0 and 13.37, requiring an edit of /etc/passwd
2. the UID is ok but password is messed up, requiring a resetting of the password
If I'm understanding what you did properly, it seems you removed your user from /etc/passwd, so you will have to re-add the user. I don't see how "adduser" wouldn't work.
Hi Tommy, the system won't allow me to use "adduser" because that implies that I want to "add" an existing username. It seems that I have to drag it in some other way OR just modify the boot/start sequence to boot as "user"; either way would do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.