General :: Root Login Directly Into -bash-3.2#?

Mar 22, 2010

i am using fedora 10 while i login as a normal user its working fine username@hostname while i login as a root user it goes directly into -bash-3.2# if i check pwd it shows /root till now i am not facing any problem as i am using as a normal user but how can i change -bash-3.2# to root@hostname which file and where to edit

View 9 Replies


ADVERTISEMENT

General :: Root User Must Not Be Allowed To Directly Login To Service Console?

May 12, 2011

I want to set security regarding with the root user. The root user must not be allowed to login directly to the service console, how will I do this?

View 4 Replies View Related

General :: Restarting The Session And Going Directly To Login Window?

Feb 8, 2010

I have GShutdown 0.2 on ubuntu .when i put it on with some time it is just restarting the session and going directly to login window. "sudo shutdown -P -- --" is working properly so why the GShutdown 0.2 is not??

View 1 Replies View Related

General :: Wake From Screensaver Directly To The Login Screen In Ubuntu?

Mar 16, 2010

I've got Ubuntu 9.10 with a user account for my wife, and one for myself. "Wake-from-screensaver" should result in "choose user" without having to enter any password. I know how to do that in Windows, but I'm not good with Linux (yet). get past the login screen without passwords (after booting, and after choosing "switch user"), but once the screensaver kicks in and I wake it up again, the system does not present the "choose user" screen. Instead, it either turns off the screensaver and presents the desktop of the most recent user, or (if the screensaver is set to lock the screen) prompt for the user's password (which can be handily surpassed by clicking the "switch user" button and choosing the same user again). So, the login ("choose user") screen has been dealt with. How do I make the (any) screensaver return to the login screen at wake, rather than to the current user's desktop? Windows can do this, I'm sure Linux can too - but how?

View 2 Replies View Related

General :: Directly Logging In As Root In A Text Mode Terminal (tty1-tty6)?

May 13, 2010

What are the differences between "su -" in a GUI terminal and directly logging in as root in a text mode terminal (tty1-tty6)? Any environment, path or other functionality differences?

View 14 Replies View Related

General :: Root Logins Are Not Allowed \ When Try To Login As Root, After Logging Out As User, It Does Not Allow?

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

Programming :: Using If Then Statement Directly In Bash

Aug 12, 2009

When you use an if statement directly in bash you have to put the ";" at the end or not? or am I mixing it with the for loop? I am reading advance bash scripting and it shows the if - then statements without ";" so I need a little clarification here.

View 2 Replies View Related

Debian :: Can't Change Permissions For The HDD Without Login On Root And Root Login Are Not Allowed?

Jun 16, 2010

How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .

View 10 Replies View Related

Ubuntu :: Getting Login Screen Directly After 9.10 Bootup

Feb 14, 2010

When I boot up 9.10, very occasionally, I get a login screen directly after the page with the Ubuntu b&w symbol and before the colour page. It doesn't happen very often but usually when I am showing someone how good and quick Ubuntu is.

View 8 Replies View Related

Ubuntu :: Can't Choose Between Xp And System When I Restarted Pc Login Directly / What To Do?

Jul 2, 2010

I reinstall ubuntu but when i restarted my pc is login directly into ubuntu i can't choose between xp and ubuntu ....what can i do?

View 9 Replies View Related

General :: -bash: Root Command Not Found?

Feb 8, 2011

I am having redhat 5 linux machine running on my windwos x in vmware workstation. Today i was installing oracle software in redhat 5 after editing the bash profile for the oracle user i got the following messages

su - oracle
password:*****
-bash: [oracle: command not found

[code]....

View 10 Replies View Related

Debian :: Boot Directly To Desktop Without Bringing Up Login Screen?

Mar 30, 2011

How can I boot Debian 6 directly into the desktop without bringing up the login screen or login password?

View 6 Replies View Related

OpenSUSE :: Shutdown Gnome Directly Without Getting Exited Into The Login Screen?

Dec 10, 2010

I am running Opensuse 11.3 which had the KDE desktop loaded by default. I have since installed the Gnome desktop which I access via the log in screen whenever I want to use it.

One thing that is annoying me is that whenever I load gnome I am unable to shut down the computer directly from the gnome panel.

When I click the shutdown button, I want the computer to shut down, but rather gnome exits into the login screen and it is from there that I need to click the shutdown button in order to shutdown the computer.

Is there a way to avoid this and be able to shutdown from the gnome panel?

I do not want to uninstall KDE as a solution, I would like the flexibility of having both desktops.

View 3 Replies View Related

Ubuntu Servers :: Login Directly Using Rdesktop Instead Of Logging Locally?

Jan 29, 2011

There's a way to login directly using rdesktop, instead of logging locally using the gnome session manager? Like, starting x, then typing a user and pass to login direct in a Windows server?

View 8 Replies View Related

Red Hat / Fedora :: SSH To Remote Host (Port 2022) Cannot Login Directly

Mar 7, 2011

Our requirement is not to use the default SSH port, So I have edited /etc/ssh/sshd_config file and changed the default port 22 to 2022, and I have restarted the sshd daemon. Now port 2022 is open in all servers however when I ssh to the remote hosts I cannot login directly. I have to use the below command to connect to the remote server, I don't want to provide SSH port number info while login to remote servers, How to achieve this.
ssh -p 2022 server02

View 1 Replies View Related

General :: Bash Script Syntax Fail As Root?

Apr 12, 2011

I'm scratching my head over a very simple netcat-based heartbeat monitoring script i wrote.

here we go:
Code:
echo `date --utc "+%Y-%m-%d %H:%M:%SZ"` script started

[code]...

View 6 Replies View Related

General :: Switching To Root Account In A Bash Shell?

Jul 15, 2011

Today I faced a very strange issue while switching to root account in a bash shell.My OS : CentOS-5.1.4

I logged in my system with account name user1 and I open the terminal and below shell opens

[user1@localhost ]$

Now when I type su and want to switch to root account , it fails

[user1@localhost ~]$ su
Password:
su: incorrect password
[user1@localhost ~]$ exit

I know the password is 123 & I m 100% sure .

View 8 Replies View Related

Fedora Security :: Modifying Grub Kernel Arguments Boots Directly Into Root?

Jan 21, 2011

I updated the kernel to 2.6.35.10-74.fc14.x86_64 and had to reinstall and rebuild the kernel module for my ATi driver as usual, so I edited the kernel arguments at the grub splash screen so that I could boot into single user mode and install the driver (i.e appending the relevant line with '1'). The interesting thing is, the system booted directly into single user mode as root when the system started up. No password was required.

View 6 Replies View Related

Ubuntu :: Make Boot Into Text Mode Directly And Login Automatically?

Oct 29, 2010

Ubuntu, and I sure know a little about Shell language. But now I need make my ubuntu boot into text mode directly and login automatically, without entering username/password by manual? I had make ubuntu boot into text mgrub fileRUB_CMDLINE_LINUX_DEFAULT="quiet splash text" , but I don't kown how to make system auto login. I'd like ubuntu login with administrator privilege then run some application automatically.

View 5 Replies View Related

General :: Bash Script For Doing Tape Backups - Need Root Password

Feb 14, 2011

I have a bash script that I am using for doing tape backups. The meat of the bash script is
sudo tar --totals -H pax -cvf /dev/st0 *
This all works just fine.

But of course tape functions have to be ran as root, therefore sudo, requiring the standard user to enter the root password. I would like to be in a situation where the standard user does not need (does not know) the root password. I think my solution is add that standard user.
User named dog to the sudo list.

I have reviewed the sudo man page and looked at [URL]. I am still fuzzy.
1- Will adding user 'dog' to this sudo list do what I expect meaning I can run:
sudo tar --totals -H pax -cvf /dev/st0 *
and the user is not queried for the root password
2- How do I do that? and do I make a cmd alais for only: "tar --totals -H pax -cvf /dev/st0 *"
My distro is OpenSuse.

View 17 Replies View Related

General :: Bash Script Output To Console Without Login?

Dec 30, 2010

i'm looking for a way to output a bash script to the console before login.It should be executed after boot in rc.d scripts with the output on the console0. It is for a asterisk box.This is the script. It use the watch command to output the active calls on the box in realtime.Code:watch "asterisk -vvvvvrx 'show channels verbose'"Btw,

View 6 Replies View Related

General :: Online Shell / Bash Login Using SSH Port

Sep 18, 2010

Any one tell me online bash login using putty [ssh port] for practicing a linux.

View 6 Replies View Related

General :: Auto Start Bash Script After Login To Desktop?

Mar 26, 2010

I am using Fedora and trying to auto run a script soon after the unit boots to desktop. I found many suggestions and finally decided to use the Sessions->Startup Programs option (under System->Preferences->Personal->Sessions menu). I added my script in the Startup Programs with the command 'sh myscript.sh'. Now I have two questions here:1. When I use the command 'gnome-terminal -e myscript.sh', I get 'There was an error creating the child process for this terminal' message after logging into the desktop. Can any one tell if I am missing something here?2. Even if I use sh instead of gnome-terminal, I still want to see the script executing. In other words, my script has certain echo statements indicating the flow of the script. But I don't see any shell opening up with these echo statements showing up, after the unit boots to desktop. But the script was still executed with no problem

View 1 Replies View Related

General :: Can't Connect To Display After Switching From Bash To Tcsh After Login

Aug 11, 2010

Can't seem to use tcsh as my login shell under CentOS 5 as I used to (if I specify /bin/tcsh as my start-up shell, the windowing system doesn't come up), so am logging in under bash then switching to tcsh on top of that, but it won't allow display access from tcsh for my programs. Gives the "cannot connect to display" error that usually xhost + is the solution for, but xhost doesn't help in this case (won't even run under tcsh, says unable to open display "0.0"). $DISPLAY is set in .cshrc. Must be something simple, but can't seem to find a direction to head?

View 2 Replies View Related

General :: How To Login As Root In Shell

Jul 20, 2010

How to login as root in linux shell?

View 3 Replies View Related

General :: Can't Login As Root To FC12 GUI / Why Is So?

Apr 21, 2010

Why I cannot login as root to FC12 GUI? .. I already configured /etc/pam.d/gdm:

#auth required pam_succeed_if.so user != root quiet

but still problem..

could any body please advise, what I missed?

View 1 Replies View Related

General :: How To Disable Root Login (Not Over SSH)

Nov 26, 2010

I have already disabled root login over the ssh by modifying /etc/ssh/sshd_config. But how would I disable root login on a server itself. We have implemented LDAP in our environment and our security guide states that root login must be obtained by first logging into the host using his/her own regular userid then gaining root privileges by using the SU.

Code:
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: Carthage
[root@~]# uname -a
Linux TomcatServer 2.6.18-92.el5 #1 SMP Fri May 23 22:17:30 EDT 2008 i686 i686 i386 GNU/Linux

View 8 Replies View Related

General :: Unable To Login As A Root Through Ssh?

Mar 28, 2010

I'm not able to login as a root through ssh but i'm able to switch as a root user once i get into the Debian boxI already modified /etc/ssh/sshd_config to PermitRootLogin Yes and restart the ssh service

View 3 Replies View Related

General :: Cannot Get GUI Mode When Root Login

Jun 28, 2010

i want to do that whenever root is logged in he cannot get GUI mode,he only get text mode or virtual console mode.

View 6 Replies View Related

General :: Unable To Login As Root?

May 15, 2010

I am using CentOS. When i try to login as root using login command,i get the following:

Code:
[avi@localhost ~]$ login root
Password:

[code]...

View 12 Replies View Related







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