Fedora Installation :: SU Command - Root Account Login Giving Error

Jan 5, 2010

In the freshly installed Fedora 12, I installed java and maven and added following files into /etc/profile.d folder:
java.sh

Code:
export JAVA_HOME=/opt/jdk1.6
export PATH=$JAVA_HOME/bin:$PATH
maven.sh

Code:
export MAVEN_HOME=/opt/maven
export PATH=$MAVEN_HOME/bin:$PATH

Now when I try to login to "root" account giving "su" command , it gives me the error :
bash: /root: is a directory

View 1 Replies


ADVERTISEMENT

Fedora :: Can't Login Into The Root Account: It Returns Me Immediately To The Login Prompt?

Jan 27, 2010

I just installed Fedora 12 on a laptop. I changed the default shell on the root account to /bin/tcsh and changed the runlevel to 3 and then rebooted. Now I can't login into the root account: it returns me immediately to the login prompt and I can't see any error message (the screen is cleared).Why is this happening?Can I boot into some sort of safe mode so I can undo my changes to the /etc/inittab and /etc/passwd file?I tried booting with a Live CD with the intention of mounting the filesystem and making the changes, but the new filesystem is a LVM and it won't let me mount it (or I don't know how to mount a Logical Volume).

View 3 Replies View Related

Fedora :: Unable To Login System Through Gnome - Root Account

Sep 11, 2009

i,m using Fedora11 since some time.... to day i hav updated my system but after updation, im unable to login my system through Gnome, but i can login by KDE as usual. now there is another problem i can,t login system throgh root account although i can access root account through terminal

View 13 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

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

Ubuntu Servers :: After Using Crontab With /etc/crontab / Giving Error "can't Find Command Root"?

Aug 26, 2010

I have a question about using crontab with /etc/crontab...

I had a cron job that I needed to run as root. At the time I thought that sticking it in /etc/crontab would be a good idea. However, I used the crontab command to edit /etc/crontab, which I guess is not standard procedure? Specifically, I configured /etc/crontab as my local user's crontab (i.e. sudo crontab /etc/crontab) then added my cron job as I would a local user crontab (i.e. sudo crontab -e).

Originally, my cron job looked like this:

30 * * * * root /my/batch/script &> /dev/null

After adding the new cron job I started seeing errors. Something to the effect of "can't find command root" or something similar. So I removed the 'root' user definition from the cron job and the job started running fine. However, because this is /etc/crontab, there are other system related cron jobs that have been defined to run under the root account (e.g. "17 * * * * root cd / && run-parts --report /etc/cron.hourly" runs as root, etc.). So these pre-existing system cron jobs, which up until now have been running smoothly, are now generating "can't find command root" errors. But I think that the system cron jobs _are_ successfully being run someplace because logrotate seems to be working.

So what I _think_ is happening is that /etc/crontab is being run twice: once as the system crontab, and once as my sudoed local user's crontab. When I run crontab -l I see nothing, but when I run sudo crontab -l I can see the contents of /etc/crontab. I am reluctant to delete my sudoed local user's crontab, because then in the process I would be deleting the system crontab, and I do not know how I should restore the system crontab's contents. (I am still not sure as to the most appropriate way to edit the system crontab).

How can I get out of this mess? I want /etc/crontab to go back to the way it was before--running _once_ as the system crontab. As for my new cron job, I'm willing to reconfigure it anywhere so long as I am still able to run it as root. Any ideas? (I am using Ubuntu 8.04 Server LTE)

View 2 Replies View Related

SUSE / Novell :: 11.0 - "SU" Command Giving Error For Installation Through YAST

Jan 26, 2009

I am using SUSE 11.0 KDE 4.0 . My system has root user, one normal user and both are me only. I am using only 'user account' only.I used to install softwares from 'user account' by using YAST.

Now my problem is - when i am trying install a rmp file through YAST, it ask root password by a dailog window. when i entered the root password it is giving error

Quote:

The program 'SU' not found. </br>Make sure your path

I had attched a screen captured image of that window.

And then after i had to be ignore that message. Installation just starts and then gives error, installation fails. so now i am not able to install any softwares through YAST !

View 2 Replies View Related

OpenSUSE Install :: Can't Login To Account - Only As Root

Apr 11, 2010

I have a dual-boot system with windows xp and suse 11.2. The last time tried to enter to suse i couldn't login to my account ,only as root. I tried to solve this through suse dvd repair option andit detected a problem in grub. i repaired it but still nothing.Also the /home partition exists and i can access it when i login as root.

View 4 Replies View Related

OpenSUSE Install :: Can't Even Login To My Own Account Except For 'root

Aug 3, 2010

I was configuring usermod for vboxusers and reboot when suddenly I can't even login to my own account except for 'root'.

I had disabled user login before this. There is only 1 group when I checked in YaST which is 'users' and its group member is 'games'.

Why can't I login to home account?

View 4 Replies View Related

Ubuntu :: Enable The Root Account - For Login - In 9.10?

Mar 17, 2010

How can I enable the root account (for login) in ubuntu 9.10?

View 9 Replies View Related

Red Hat :: Cannot Login Via Ssh On A Single, Non Root Account - Telnet Ok

Sep 9, 2010

a user called, cannot login - forgot the password - common case ( 200 user system )- but this one seems to be a bit different:

user tries to log in via ssh - login/passwd incorrect,
via telnet - no problem

tried a few different users on ssh - no problem... It seems the access denied applies to just a single, standard user account - only via ssh, all other users are able to login... tried also to change the passwd, no difference. beside re-creating the account, can you think about anything else? system: RHEL AS3, 2.4.21-51ELsmp

View 11 Replies View Related

General :: SLES 11 SP1 JeOS Giving Error During Login

Jan 24, 2011

I installed SLES 11 SP1 jeOS on my system. It is booting up properly. But when I tried to boot it up with "TrustedGrub", it comes up up to login level. When I given the login name and password, it shows an error "Error in service module".Then i couldn't login.

View 1 Replies View Related

Debian Configuration :: Root Account Not Showing At Login?

Aug 4, 2011

I just installed Debian 6 on a server and when the server powers up, it shows me all the accounts I created in order for me to choose and login under an account, except for the root account. At the colo where the server is going, they need the root account at the login screen.

View 11 Replies View Related

OpenSUSE Install :: Way To Login To Account With Only Root Password?

Mar 26, 2010

Is there a way to login to an account with only the root password? Because I really need it the first unlock the computer next to me and second because I just want to know.

View 9 Replies View Related

Ubuntu :: No User Accounts / Way To Login Under Root Account

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

Fedora Installation :: Unable To Login Using The Only User Account?

Mar 29, 2010

If I'm getting good at anything with Fedora, it would be making mistakes. I have Fedora 12 installed and it was running fine until I attempted to set the path in bashrc and cshrc for jdk. Now I am unable to login using the only user account I created at install. When I enter my password the login screens goes blank then my mouse pointer appears with the circling dashed loading symbol for a few secs and then brings me back to the login screen asking for my password again.

View 4 Replies View Related

Server :: Multiple Command In Ssh Giving Error?

Apr 23, 2011

I have prepared a script which will login to each server and search for a keyword.I want output on same machine from where m running script.When i try to run command on any machine.. It works well.

w=$(grep -irH "keyword.com" /home/*/public_html/*);if [ $? -eq 0 ];then echo -e "
$HOSTNAME";echo $(grep -irH "keyword.com" /home/*/public_html/* | cut -d: -f1 | uniq | awk '{for (i=1;i<=NF;i++) printf "%s

[code]....

View 3 Replies View Related

Ubuntu Servers :: Unable To Login With Root Account After New Install

Jan 11, 2010

This may sound a bit odd, but after installing Ubuntu Server 9.10 64-bit version, I can't seem to log in with the root account that I created. My user account works fine. I thought that I may have fat fingered the password when I created it so I ran the installer again since it takes very little time to do so. When creating the new root account password, I was very careful to type it correctly. After the install was complete, I am still unable to use the root account. I'm unable to SU from my normal user account, too. I just receive the Login incorrect error. Is there something with using root accounts with Ubuntu server that I'm missing?

View 8 Replies View Related

Server :: Unable To Login To A User Account Even After Clearing The Password From Root Using Passwd -d

Aug 10, 2010

Not able to login to a user account, even after clearing the password from root using passwd -d

[root@ivrsdb1_pnq /]# passwd -S oracle
Password locked.
[root@ivrsdb1_pnq /]# passwd -u -f oracle
Unlocking password for user oracle.

[code]....

View 3 Replies View Related

Server :: Fedora Sending Mails From Root With Non-root Account?

Jul 14, 2011

I've started to get emails that would typically come from [URL] as [URL]. These emails come from services that send out emails (backup programs) directly, or from cronjobs. I've logged in as the non-root account and either sudo su - or su - to root and the restart the service at one point or another. If I login directly as root and bounce the service or cron the emails come across as from root. I don't see anything in my environment variables after I su to indicate what would cause this. I'm not sure where else to look? A pam setting? This seems to have happened between Fedora 10 and 14 (did a bunch of overdue upgrades recently) I've only got Fedora so I don't have anything to compare to. In Fedora 10 I did not have this problem.

View 2 Replies View Related

General :: Disable - Non-root Shell Command To Find If A User Account Is Enabled Or Not?

Aug 10, 2011

Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:

LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.

DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.

The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.

View 2 Replies View Related

Fedora :: Root Login Works At Shell - Auth Error When Running Admin Tools

Jan 25, 2011

I login as normal user. I can 'su root' fine - password authenticates. However, If I try to run System->Administration->Users/Groups, when it asks for root password, it is rejected. When I run updater, it reports failure to authenticate, but doesn't even ask for root password beforehand. Is there a cached password someplace?

View 7 Replies View Related

Ubuntu :: Achieved Without Giving Account To Much Privileges?

Mar 29, 2010

I'm trying to make Firestarter launch as a startup application but it tells me that I need root privileges when logging in with my one and only account!

Can this be achieved without giving this account to much privileges?

View 7 Replies View Related

Fedora Installation :: Upgrade F9 To F10 Root Login

Jul 16, 2009

I have a problem to login with the root user from gui (I use Gnome). The root password is ok. Is there a way for me to logon with the user root in gnome?

View 1 Replies View Related

Ubuntu Security :: Giving Root Permission To An Application But Without Running It As Root?

Jan 20, 2011

want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.

View 1 Replies View Related

General :: Set Up User Account To Avoid Giving Much Power?

Jul 30, 2011

I will be setting up a computer for people who have very little experience using computers and I want to limit their ability to break things. I'm thinking Linux is the way to go but I don't know what distribution to use. I don't know anything about their hardware other than it is an old laptop. I don't have a lot of experience with Linux, but I would think that without sudo there is not a lot of things you can break.

What would be a good Linux dist that has everything out of the box? (flash, vnc, office, etc) How should I set up the user account to avoid giving them too much power, yet still allowing the computer to be useable for daily tasks? (Will they be able to update software?) I also want to be able to control the machine remotely since I won't have physical access after I set it up, so I am looking into ssh, vnc, (or a better alternative?).

View 2 Replies View Related

Fedora Installation :: Unable To Login As Root Under Gnome?

Feb 3, 2010

I've installed F12 twice now. After completing the installation and getting all the updates via YumEx, my network trouble begin after a reboot. I am not able to login as root under gnome so I can't see the services panel.

Tried to reinstall 'NetworkManager' after the fact but of course I have no network connections so I may have made the problem worse. I hate to reinstall and repeat the same troubles over again as it consumes a lot of time. I don't know where to begin.

View 8 Replies View Related

Fedora Installation :: F13x64 Can't Login To Root At Level 3

Aug 10, 2010

For some reason I can no longer login to root when I boot to runlevel 3. So I have to login to my user account then i could su root then login.

View 5 Replies View Related

Fedora :: After Giving Reboot Command System Hangs During Booting

Mar 2, 2011

today i installed nvidia graphic card drivers for fedora13 using yum, after giving reboot command the system hangs during bootin.

View 1 Replies View Related

Ubuntu Installation :: VM Clients Keep Giving IO Error

Apr 4, 2011

I have a Ubuntu 10.04 desktop VM that is running torrent software, and it is saving the files to a samba share (which is actually the host it is running on). I have also tested from another Ubuntu box on the network and it experiences the same problem.

The problem I am having is that any torrent client on a Ubuntu machine or VM can't save to the samba share, but a WinXP torrent client can download the same torrent and save to the share with no problem.

I created a public share, and the problem seems to be that I cannot edit files after I create them. It seems that samba is ignoring the create mask and creating files as rw-r--r-- instead of rw-rw-rw-

I even tried adding the "unix extensions = yes" option and that didn't seem to work either.

Code:
[global]
# map any unknown username to nobody so login succeeds, don't forget to run:
# smbpasswd -an nobody
# so that it will work!

[Code]....

View 3 Replies View Related

Fedora :: Vsftp Installation - Login As Root And Have Access To '/' As Home Directory

Feb 1, 2011

1. 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?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved