Fedora :: Ssh Public Key Login Doesn't Work As Root User
Dec 22, 2010
I've tried to ssh in as the root user w/o a password (RSA keys) but I've had no luck as the root user. I've tried the exact same commands with Debian 5 and Centos 5.5, without a problem. Fedora 13 and 14 won't work! I can only log in w/o a password as a normal user, never as the root user! It always asks for the password if I try as root. I've even tried copying Debian's and Centos's sshd_config file and restarting sshd, but it still won't work.
Code:
mkdir ~/.ssh ~username/.ssh
chmod 0700 ~/.ssh ~username/.ssh
echo "ssh-rsa AAAAB............Jw8V03loeZ username@thehostname" > ~/.ssh/authorized_keys
[code]....
View 6 Replies
ADVERTISEMENT
Nov 26, 2009
I get the problem to acess root password when i am in user login, means wahen i am in user login and want to install software from terminal then he asked root password, when i supplied root password but he give me login incorrect.
View 2 Replies
View Related
Apr 9, 2010
A week ago or so neither ssh nor scp were working when attempting to connect to my on-campus computer from home. ssh was complainig about the key not matching and I figured out I could just delete the config file it was reading the (now old) key from and let it create a new one with the updated key upon prompting me whether or not to trust the remote host.
However, even though ssh is now working, I can no longer use scp. I issued scp -v and discovered a bunch of errors. scp prompts me for the remote password and even prints the message of the day on the remote computer but then just hangs and doesn't seem to be copying any files. I'm sure the issue is with the whole key change issue but I can't quite figure out why ssh would be working just fine and scp would be failing.
View 1 Replies
View Related
Feb 15, 2010
My computer was working this morning and both hard drives were working fine, then all of a sudden for about two hours I was stuck with this "problem", then after fumbling and moving and stablizing things, then Windows works? See below for details. I've finally reinstalled both hard drives, but the one with the Linux partition doesn't work: it says nothing is discovered on the disk. I can't login at the LUKS login after grub starts, therefore I can't get into Linux, but Windows works?! I used to be able to go directly into Grub when the computer starts, I forgot how to do that but it doesn't matter. If you need details I'd be glad to provide them. I just wondered why Linux doesn't work, but Windows does. I have Linux & Windows on two different separate hard drives
View 5 Replies
View Related
Jun 17, 2011
Well I did something pretty stupid and now I can't log in with my user other than the root user. Basically, I wanted to change my username and so I when to the admin > user & accounts - and selected the account I wanted to change. Anyway I did that and then logged out. Since then all I get when I reseted is a spinning mouse ball and a black screen. I can get into the shell prompt - but I'm not sure how I'd go about fixing this issue I created. At the moment I'm logged in the shell with root, and if I type 'id' I can see my old username, but I think the links behind it are broken.
View 5 Replies
View Related
Sep 8, 2009
I have a problem, I have installed Fedora 11. And i need to login as root user.
How to do so?
View 14 Replies
View Related
Dec 18, 2009
I've recently upgraded my hardware. Now, the system boots perfectly fine, but I can't login to the tty as root or any other user. Infact yes, I can login, but as soon as it shows Last Login, it exits and then I'm back to a login prompt. I've successfully booted into single user mode, and changed all the passwords, but still it fails. X doesn't start, although I think it's due to the old xorg.conf having the wrong driver.
View 9 Replies
View Related
Jul 6, 2010
After upgrading FEdora 13, user ravi was added. Then after few days neel was added. Both of the users were already existing. So when attempting login to neel, we found that every file is owned by ravi. So we did$chown -R neel:neel But after that problem started and when we rebooted the machin, there were no list of users on login screen. (then I connected to that comp remotely, it worked, but somehow I was not able to switch to root) It says incorrect password (though I new it very well). So I went to maintenance mode and changed the root password, and rebooted. Still problem persists.Now I am not able to login as root (from anywhere, login screen , terminal, remote)No list of usernames on login screen ( but i can choose, other and type login-password)
View 5 Replies
View Related
Jan 14, 2010
I have just upgraded my laptop from F8 to F10, and I am unable to login to the system as root user.At login, it provides 2 options, one is the user I created and another called 'other'.On selecting 'other' and providing uid/passwd as 'root/<rootpassword>, it says "Unable to Authenticate User"!!However, when I tried to access my windows partition, it happily accepted the root password
View 4 Replies
View Related
Aug 26, 2010
I have a problem with my ubuntu account. I am running 4 virtual machines, based on jeos-8.04 and I am using a public key authentication to login to my account (via ssh). This is not the problem, I have the key and the passphrase. But when I am logged in, I can't sudo, because I forgot the password for the accout.
View 6 Replies
View Related
Apr 7, 2010
I have fedora 12 installed in my system.But i cant login into it as root user even using 'sudo su'what to do?Each time i am having the following problem
[sujal@hclhome ~]$ sudo su
[sudo] password for sujal:
sujal is not in the sudoers file. This incident will be reported.
View 5 Replies
View Related
Jun 29, 2010
my linux system doesn't have X only console login possible. i would like to deny all user to login from any sources, local machine, remote console (putty, winscp) etc. except root.
i've found something about /etc/security/access.conf and i've put:
+ : root : ALL
- : ALL : ALL
but still users other then root are able to login (via putty for example).
View 2 Replies
View Related
Jun 9, 2011
I've checked gdmsetup and there isn't anything that I can see that keeps my general users from getting in remotely. I can get the Gnome to login as root but not as a user. SSH from PuTTY works fine for all users. The error I get actually says that the username or password is incorrect - checked using SSH and it is fine.
View 1 Replies
View Related
Aug 20, 2010
I just installed Fedora Core 13 on my notebook and on installation setup entered password for root as asked. Now I'd like to login as root in console with password I gave to the root, but it doesn't work. Neither am I as regular user in sudoers file.
View 6 Replies
View Related
Feb 5, 2011
i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.
View 9 Replies
View Related
Dec 2, 2010
i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode
View 5 Replies
View Related
Aug 1, 2011
I have winbind Active Directory authentication set up on my laptop. AD authentication works like a charm, passwords cache, etc. I can use sudo with no problem. However, I cannot use the root account -no matter what I set the root password to, the system will not take it. I also have a couple of normal system users (not winbind), and no matter what I set their passwords to, I cannot login.
View 4 Replies
View Related
Apr 8, 2010
Got myself in a bit of a squeeze here. I was messing around with the Xorg install on my Fedora 12 system. I ended up reinstalling it. Now my mouse and keyboard work fine in single user mode / terminal. But if I try and boot to X they dont work at the login screen. HAL and udev are booting. Ive done a udevadm monitor test in single user mode and its seeing the devices connect and disconnect. Ive also tried both USB and PS2 devices. Same issue. Ive tried playing with xorg.conf and generating it with Xorg -configure :1 I dont know to use to fix it. After banging my head against the wall for 20+ hours I decided it was time to ask for help. m just Lynxing around the web at the moment =X
View 2 Replies
View Related
Aug 17, 2011
I burned Fedora onto a disk, but when I turn on the system it just goes straight to the Windows XP login.
I thought it was something wrong with the disk or something like that, but when I pop in the disk on my Dad's laptop, the installation for Fedora runs perfectly.
Also, yes, I checked the order for booting and the CD drive comes before the hard drive.
View 9 Replies
View Related
Dec 11, 2009
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
View 11 Replies
View Related
Jul 28, 2010
I just installed Fedora 13 on a new computer and the timed login for gnome does not work unless you manually select it. This surprised me as I upgraded a separate computer to Fedora 13 and the timed login feature still correctly functions and does not require user interaction.
Code:
[daemon]
TimedLoginEnable=true
TimedLogin=<username>
TimedLoginDelay=3
Adding the above to /etc/gdm/custom.conf only adds an Automatic Login option that you have to manually select and then the computer will login. I would deem this less than useful.
Code:
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=<username>
I know you can substitute the timed login with the automatic login and it will instantly login, but this provides no option to select another user. I have been unable to find any information why this feature no longer works and wanted to know if there is a new way or if anyone knows why the timed login feature was crippled.
View 1 Replies
View Related
May 4, 2009
The only user that can make the sound card work on a F10 x86_64 system is root. For non root users, I am not seeing any error messages when a app tries to use/access the sound card, just nothing plays. As I said, for root everything works as expected. I am sure this is a permission/setup issue, but I have no idea where to start.
View 3 Replies
View Related
May 26, 2010
how i know am in root user or another user? how to login as root user? sudo passwd root when i typed in termninal am getting this error pa1 is not in the sudoers file.
View 2 Replies
View Related
May 21, 2009
I created a new user lets call it X. I disallowed the root login from SSH, so I login with X and after I call "#su root" command. But when I login that way, I can't use some commands like "service". I can access all the files, I can even change the sshd_config file but some commands say "not found". Do I need to get X to a group? Or make it some priveledges etc? What should I have to do to run this free of problems?
View 4 Replies
View Related
Sep 24, 2015
Since upgrading my Debian/unstable amd64 installation a few days back I can no longer log in as either root or user, whether to SDDM, via the console, or via ssh. When trying with the console, I can see the login message flash briefly on the screen, before the console resets itself.
I can boot into recovery mode, and examine log files. I enabled systemd debug logging and, amid reams of messages, these seem the most pertinent:
Sep 25 02:24:43 cooler systemd[1]: Received SIGCHLD from PID 937 (login).
Sep 25 02:24:43 cooler systemd[1]: Child 937 (login) died (code=killed, status=6/ABRT)
View 7 Replies
View Related
Feb 8, 2010
I cannot see what the problem is here. I have installed MySQL 5.1.36 via YaST on my openSUSE 11.2 (32-bit) system.I can log in as root. I can "create user MY_user identified by 'my_passwd';" and a new user is created. But I cannot log in to the database using that new user name. I keep getting the message:
Code:
> mysql -b -u MY_user -p
Enter password:
[code]....
View 6 Replies
View Related
Apr 14, 2011
I have two uesers on the syste - me (Adam) and the root. when I log in as root where is the admin user contents? in windows its under users. in suse it should be under users. but where?
View 2 Replies
View Related
May 10, 2010
I have installed OpenSUSE a few months ago and worked fine. But from yesterday i can't login with root user. I received the message:
Login: root
Invalid user name
I have no question for password neither.
View 9 Replies
View Related
Nov 2, 2010
I hate my touchpad when my mouse is plugged in, and because of a bug in the alps touchpad that the system does not shut off the touchpad when I am typing. and syndaemon does not work either. So I found this script that I modified and it works like a champ when run as sudo from a command line, but I can not get it work from root crontab with the "@reboot" and it does not work with
Code:
sudo update-rc.d killtouchpad start 30 2 3 4 5 . stop 70 0 1 6 .
here is the script.
Code:
#!/bin/bash
#
# Toggle touchpad on and off
[Code]....
View 3 Replies
View Related
Oct 12, 2009
I want to disallow root login on my RHEL Machine?
View 14 Replies
View Related