Fedora :: Logged In As Root - What Is The Home Directory Pathname
Aug 23, 2010Im logged in as root in Fedora, What is the home directory pathname?
View 2 RepliesIm logged in as root in Fedora, What is the home directory pathname?
View 2 RepliesI just logged in as root and used rm -r on a file directory, but is this the same thing as deleting it?
View 3 Replies View Related1. yum install vsftpd
2. service vsftpd start [ok]
3. nmap from outside verifies tcp 21 is open for business
4. ftp myipaddress.com results in login failed for user root.
I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?
Cannot seem to set a home root directory and connect as a local account to the FTP Service over SSL. Anonymous works perfectly fine.
View 1 Replies View RelatedXguest uses namespace.d/xguest.conf.
[code]...
root user won't be able to read the "active" xguest home directory (ll /home/xguest will only show an almost empty folder with content from /etc/skel). How can a root user list the folder of an the xguest home directory (while xguest is logged in)?
I am using Fedora 10 .Generally to update I open a virtual console by pressing Ctrl-Alt-F2,login as root and give the "yum update" command.Then I continue using my graphical terminal for other tasks from the 'non-root' account..Now my room-mate comes uses my 'non-root' account to browse web for few minutes and then opens a terminal types "halt", ENTER and viola...! My root account seems to be insulted by a 'non-root' user!.When I am doing updates or other important work as root any silly user can just 'halt' my computer. Can somebody tell me how to set up my computer so that when root is logged in no other user can simply halt the computer.
View 3 Replies View RelatedAfter upgrading to Lucid, gnome-terminal and xterm both start in the root directory (/); I'd like for them to start in my home directory instead. I had added "cd /home/myname" to the end of .bashrc, and this worked well as a temporary fix, but was never necessary in Karmic. Furthermore, modifying .bashrc in this way renders Nautilus' "Open in Terminal" menu item useless, as it still opens the home directory instead of the folder Nautilus was viewing.
View 9 Replies View RelatedI've set a side 80GB on a separate partition, I have 4GB of RAM. I know it will ask me to set /home /root and /swap. How much should I set each one to be with my partition size and RAM.
View 2 Replies View RelatedIs there a way to fix this ? I need to be able to edit files with root privileges, not to mention that I don't want it to make any backups ( can be turned off ).
View 3 Replies View RelatedHow i would find out who has logged in to my server using the root login, does it store a log anywhere. im running fedora core 4.
View 5 Replies View RelatedAccidently ran rm -rf while the pwd was /home/user-name
Now I'm unable to run any command whatsoever as root, ls,vi,cnf whatever, they don't work.
However the commands work as normal user.
I can guess that the files with root ownership in the home folder were deleted but I would like to revert everything back to normal and would like to know how to solve this problem.
Or would this sacrifice security in some way? I've been using root only, and am ready to have a seperate account now. It's the dotfiles for GUI apps that I'm concerned about:
Code:
-rw------- 1 root root 98 Feb 13 16:23 .Xauthority
-rw------- 1 root root 6392 Feb 12 18:13 .bash_history
drwx------ 5 root root 4096 Jan 13 17:47 .config
drwxr-xr-x 4 root root 4096 Dec 29 21:36 .fvwm
drwx------ 4 root root 4096 Nov 7 19:55 .mozilla
-rw------- 1 root root 218 Jan 26 10:04 .recently-used.xbel
-rw------- 1 root root 98 Feb 13 16:23 .serverauth.17096
drwxr-xr-x 2 root root 4096 Dec 25 12:42 .tuxcmd
drwxr-xr-x 2 root root 4096 Feb 12 17:25 .xine
I have updated the gdm file to be able to log in as root in Fedora 10.Nevertheless after I had selected package updates to be installed logged in as root I still get an error message that I do not have enough privileges.The terminal installation method is a bit of a problem since I do not think it will search for dependencies and therefore it can be excessively long to figure out what is missing for a package installation. In simple cases it works OK, but in more difficult cases it is a bear.
View 8 Replies View RelatedI have a strange problem when I do SSH to a FEDORA9 based Linux Server.
[Code]....
When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied
I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.
The easiest way to do this would seem to be to just change & export $HOME, eg
cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions
However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?
I get the following error when I try to boot vista thru grub. This is what I did, Got a new Hard drive installed it. Configured the bios to look at the new hard drive first. after installing vista on the new hard drive I switched the boot order and added the lines for vista(last 3 lines) in /boot/grub/grub.conf. I get the following the following error.I have to change the bios everytime i have to boot vista.
error 1: Filename must be either an absolute pathname or blocklist
#boot=/dev/sda
default=0
timeout=15
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29.6-213.fc11.x86_64)
[Code]...
i was trying to move xampp's root directory from /opt/lampp/htdocs to /home/private/htdocs (in order to use Ubuntu One) but when i restarted apache i got "permission denied" when i tried to load the index page.so i said to my self...hey..let's chmod
i entered this three commands in terminal:
Code:
sudo chmod -R 755 /home/private/htdocs
sudo chmod 755 /home/private
sudo chmod 755 /home
('private' is my username)
after a couple of seconds everything begun to disapper, shortcuts on my desktop, my wallpaper...all.i even tried to execute another command with sudo but i got a nice error message that said i don't have permissions to execute bla bla.now i can't even log into my user.
I have a Red Hat 4 server with Sungard Luminis installed on it. I was following some instructions on setting up Luminis to start at boot. One of the steps was modifying the sudoers file. Since modifying the sudores file, I am no longer able to "su" to root when logged in as a normal user. When doing so, I get su: incorrect password after putting in the password. I have another server with the exact same setup, broken one is test, the other is production, that works just fine. I made no changes to my production server. I've been looking at different things all day and the only difference I have found between the two are the results I get from running rpm -q --verify coreutils. Running that on my prodution server returns nothing. Results from my test server are below. Is this what is causing my problems? If so, what's the fix? I haven't found that yet. I've checked /etc/pam.d/su, both servers are the same.
rpm -q --verify coreutils
.....UG.. /bin/basename
.....UG.. /bin/cat
.....UG.. /bin/chgrp
[Code].....
i install from
yum install rkhunter
rkhunter 1.3.6-4.fc12
Invalid XINETD_CONF_PATH configuration option - non-existent pathname
I'm just trying to figure out what is going on with FC12
Here is the error:
[root@localhost bigmac]# rkhunter --check
Invalid XINETD_CONF_PATH configuration option - non-existent pathname specified: /etc/xinetd.conf
I would just like to know how to, and know if its secure to run the following programs WHILE LOGGED OUT of Ubuntu: openvpn, deluge, and if it can be securely done while the home directory is encrypted.
View 6 Replies View RelatedI can use the accents (tilde, acute, ...) normally when I am the root, but when I log into my user account they re not recognized in most applications (opera, emacs, amsn, python idle,...) although they work in other applications (terminal, vim, iceweasel...). I guess that would have a simple solution. Something is right in the root account and wrong in my user account, but I cant figure it out. My layout is USA International (with dead keys).
View 4 Replies View RelatedFedora 9 and a maxtor 500gb external It seems i cant get the hd to initialize (not sure if thats the correct word for it) until I log in as root. I can see the icon on the desktop for it and everything, but when i double click on the icon nothing happens. It also doesnt appear in /media/. If I log out of the user account and log into root, all of the sudden i can open the icon in both root AND the user account. It also shows up in /media/. I'm not sure if its a permissions issue or something else.
ps: using ssh to log into root from another machine makes no difference though, only using X or whatever its called from the physical machine.
When i try and log in with my user it is giving me an error I have removed gnome from the computer and put kde as my desktop I can login with root can't enter home directory using / is the error
View 14 Replies View RelatedI use ext4 for the lvm2 home partition on Fedora 11. Yesterday, I must shrink my home partition and the operation crashed. Then a new ext4 partition becomes a backup "cp -R /mnt/backup/* /home" + chown + chgrp and boot Fedora again.
The login failed and the message of Fedora is "Cannot enter home directory. Using /."
What is the problem?
Every time I start a terminal it defaults to my Documents directory and I would prefer it default to my /home/thisuser directory instead. Anyone know how to set that? I tried looking in .bash_profile and didn't see anything. Nor did the man page have anything that seemed like what I was trying to do...
View 14 Replies View RelatedI've installed F14 to replace another distribution on my PC. I chose to use KDE. I used to have a separate partition for my user home to be mounted as /home. During the installation I instructed the installer to do so (without formatting of course). At the first boot I created a use with the very same name as I used to have. I got the warning about the home being already there and I said "yes, convert that ownership and selinux stuff so I can use that very directory as my home". At the graphical login I get a dialog saying I cannot enter my home and that it will use / instead. Of course the login process fails. If I switch to the character console (CTRL-ALT-F2) and do a login I actually get the very same error. But, if I hit "cd" (change directory to $HOME), then I get in the proper directory.
Update 1. I guessed it was a SELinux problem. And I manually disabled it into /etc/selinux/config. Now I'd like to fix this issue, because I'd like to have SELinux working.
I have been trying to get my development box up and running and I decided to do some CGI work in Perl and I am getting a 500 error on Apache 2. I have checked all the perl settings and the script runs fine on the CLI. I am simply passing a textfield from a HTML form to Perl. I was using the standard CGI.pm calls but I modified the script just to use print statements to make the output page. The script has one textfield in it, as it was just supposed to test the CGI.
I have the UserDir directive active for my user and I did some modifications to allow CGI execution from my home directory /public_html/cgi-bin/. the script will not run from the main /var/www/cgi-bin directory either,that also returns a 500 error. the permissions are 755 on both copies of the script in the cgi-bin directories.
Supposedly, the person who used to manage the server set up an admin account before they left, but when I try to log in to it I get the error:Your home directory is listed as:'/home/username'but it does not appear to exist. Do you want to log in with the / (root) directory as your home directory?It is unlikely anything will work unless you use a failsafe session. I've browsed a couple other topics with similar problems and tried some of what was suggested, but I haven't gotten anywhere.
View 9 Replies View Relatedon my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.
View 6 Replies View Related