Ubuntu :: Cannot Login After File Owner Changed From Root To User
Mar 21, 2011
I used to use the root account for everything for more than a year then I moved to a user account for security reasons but almost all files had root as owner so I could not go 5 minutes without having to change to root and then change the owner of a file to my username to make it usable. I got fed up with this so I just changed the owner of every file on the system to my username instead of root.
command chown -R myusername * in the base directory /
Everything was fine until I restarted and the login screen became non functional and I got 2 error messages related to xsession and gnome errors. I think this is because the login screen might have its own user account and it cant access the files for the login process because it is owned by myusername. So my question is what is the user-name of the login account and what folders/files need to have their owner changed so the login process can work? I'm on 10.04 lucid.
View 6 Replies
ADVERTISEMENT
Mar 24, 2010
the terminal and logged in as root i was changing file permissions and happened to change the root folder to 700. Now my icons have gone and i can't even access the terminal.
I was just wondering if it is possible to go to rescue mode using the cd and restore all the appropriate file permissions to root/ users if possible
View 4 Replies
View Related
Apr 16, 2010
Ubunto 8.4, running on 2nd partition on Apple Intel iMac. Several months ago, following a routine update, I found I could no longer install routine updates. Investigating further, I find
"You don't have permissions to..."
then sudo: /etc/sudoers is owned by gid 1002, should be 0.
That's not me! I am the owner and root user of this computer. How could this get changed? How can I change it back to me? The Linux platform of the computer has not been exposed to the net except for Ubuntu forums and updates. No one else has used this computer.
View 5 Replies
View Related
Mar 14, 2011
I did something silly and changed my root user access for mysql access to Any from localhost using webmin. I get an access dented when i try to open up the mysql editing page on webmin. Can any of you tell me if there is a way to change it back to hosts=localhost I am using webmin 1.5.30 on Centos 5.5. I am hoping I can change it by command line or if I can access the config files and change it that way?
View 2 Replies
View Related
Apr 21, 2009
How can I make a virtual host (right now I just use NameVirtualHost *:80) that will load the same page for every domain that matches imap.domain.com, smtp.domain.com, or pop3.domain.com?
View 4 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
Jul 22, 2010
Need to track which users are making changes to production files. I have a small number of administrators with access to su, but need to be able to identify which administrator is making changes to which files after they have su.I have read several post and articles regarding auditd tool, but it is not clear to me whether this tool can generate a log that shows the original user and file being altered.
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
Jan 26, 2010
I edited the passwd file to modify the default shell for root from bash to tcshnow when I try to login to root it gives me the following error:"su: /bin/tcsh : No such file or directory"
View 3 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
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
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
Jan 6, 2010
I recently made a computer for someone who decided to get a new one instead.. so i thought i'd make a server out of it lk i had it before. so i deleted their account (while on their account) and made me an account.. but now when i try to login to my account it's.. not there? such as when i type my username and pass it says i entered an invalid user/pass. any idea how i can get my user accounts back or atleast logon to this system? i know the root password if there's any way i can login under the root account.
View 8 Replies
View Related
Sep 1, 2010
here is Maneesh Kumar Dhiman from india persuing B.Tech in computer science and Engg. i am using ubuntu 9.04 and i have the problem with it that i cannot being able to update it by following ways:
1. by using snaptic package manager
2.by using update manager
3.by terminal commands and also i have a problem with U9.04 n that is i can not being able to login from user screen as a root.
View 2 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
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
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
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
Oct 12, 2009
I want to disallow root login on my RHEL Machine?
View 14 Replies
View Related
Feb 12, 2010
I have been trying to establish a connection between two pcs via the ssh channel. I successfully made the connection as a root user, but when i tried as a non root user i had to type in the password the make contact with the other pc. how exactly does this passwordless login actually work?
View 3 Replies
View Related
Jan 29, 2011
I am trying to someone get to their records on a CentOS 5 box and the username/passwords they have given me are not being recognized.
View 11 Replies
View Related
Aug 4, 2010
When I try to login root from my normal user, I can see this:
Code:
Cannot exec /usr/libexec/openssh/sftp-server: File or directory doesn't exist
(Translateted from my nativ language)
I think that is my bad shell configuration so I check file /etc/ssh/sshd_config and see in the end (this lines couse this bug):
Code:
Match User root
ChrootDirectory /home
AllowTCPForwarding no
X11Forwarding no
[Code].....
View 2 Replies
View Related
Jul 5, 2010
I have to paste the tar.gz files in /usr/local/src folder but it does not permit me to do that i tried changing the permissions but it says you are not an owner what should i do else than uninstalling ubuntu
View 2 Replies
View Related
May 29, 2011
When I installed Ubuntu, I was asked to enter a user name and password. I chose one that would be a sort of "administrator alias" and gave it a strong password. This is my "su" name and password. That works fine for most things, such as installing software, etc.. Every so often, however, something comes up that can only be accessed by "root" and that is not me, even logged in with my "administrator alias" and password. This happened when I inserted a USB flash drive and tried to copy some files to it that I wished to transfer from my desktop my laptop. The only way I could do this was to format the flash drive. and then add my files to it.
This morning I inserted the flash drive and tried to add another file to it, using "copy" and "paste". Again I got "permission denied" and the owner of the flash drive, seen as "usb0", was again "root", and I could not change its permissions, because I am not "root". It also says the device is not listed in etc/fstab. I have read the Ubuntu paper on mounting USB drives, but I'm not sure that applies here. The drive seems to be mounted, but with the wrong owner.
This problem has also occurred with some software when I tried installing it. I usually give up and don't install it. This flash drive problem, however, is driving me crazy. I need to transfer those files. Is there something I'm missing? Despite installing and upgrading Ubuntu on 2 machines, I'm still pretty much a newbie, and if it involves using the terminal, I need step-by-step instructions,
View 3 Replies
View Related
May 26, 2015
Debian 8/Cinnamon fresh install. /home is being shared with two other OS's, Mint and openSUSE. At the login screen I enter my user name and password and the screen blacks for 1-2 seconds and comes back asking for user name and password. I can login as root. As root I can launch the Group & Users GUI and attempt to set the user's password, and pressing the 'change' button does nothing obvious.
I can set the user's password in a terminal, which reports success. I tried to switch users and login with the changed password and I get the same failure. If I try to login with the original password I get an incorrect password error, suggesting that the password is being processed properly and the problem is elsewhere.
On previous installs with Mate and the default desktop (Gnome) I didn't have this problem. So, the questions are: Is it Cinnamon? Is it an unlucky chance bad install? Config files are typically in /home, which is being shared with Mate and KDE, is this the problem?
View 3 Replies
View Related