On 12/06/2015 11:09 AM, Andrei Borzenkov wrote:
06.12.2015 21:42, Lew Wolfgang пишет:
No problem, I say, I'll just boot into bash by adding init=/bin/bash on the Grub "linux" line. Great, that works and I've got a command prompt. But, the shell seemed to be running as an unpriviledged user! It would say "/usr/sbin/userdel appears to require root authorization, which you don't have", or some-such. It wouldn't let me do anything that required root authorization! I've didn't try to boot into "single-user" because of bad experiences I've had with a certain initialization system.
That's due to missing /sbin and /usr/sbin in PATH. Just set them or use full path. But bash was finding the executables in /usr/sbin, it just wouldn't run them. No, it does not find them. See "type command_not_found_handle".
Just tried it again. I added init-=/bin/bash to the grub2 "linux" line. It then boots into a bash shell. I then noticed that / is mount ro at this point. This is different. So a mount -o remount,rw / fixed that. Then typing just "useradd" returns: Absolute path to 'useradd' is '/usr/sbin/useradd', so running it may require superuser privileges (eg. root). So I then tried "sudo useradd" and that worked. Also different from 13.1. I now have a new user. I set the password with "passwd" and rebooted. Now I try logging in to the Plasma5 gui and all I get is a BSOD+cursor that moves under command of the touchpad. So after the dust has settled, my question now boils down to "how do you make a new user in Leap?" Have other folks seen this or did I bork something up in my stumbling around? Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org