Ubuntu :: Finding A Bash Script Which Will Prompt To Enter Host And Username At Initial Boot

Feb 17, 2011

I am working on different versions of Ubuntu & I looking for a script that will prompt the user to enter the host name & user name that he wanted for that system at initial boot up.

View 2 Replies


ADVERTISEMENT

General :: Enter The Boot Prompt For Red Hat 5.3 Kick Start?

Apr 5, 2010

I have ks.cfg and file.iso burned to a DVD. Both files are at the root of the DVD. Besides that, I also created a folder and keep some drivers in the folder.

I inserted the CD and reboot the server ( which already has a red hat 5.3 that I installed before, I want to erase it using kick start ).

Howver, I just can't get into the much said "boot prompt".

Do we need to press certain hot key during certain stage of reboot?

View 5 Replies View Related

Ubuntu :: GUI Does Not Allow To Enter Username And Password

Feb 1, 2010

When I installed Ubuntu on my laptop, I had chosen "automatic login" . So i was not asked ofr username and password everytime I switched on. I later wanted to change the settings. So I went to systems-->administration-->login window-->security. There I disabled automatic login and I reboot the computer. Now the GUI does not allow me to enter Username and password. It says "Authorization denied" at the login screen.

View 7 Replies View Related

Ubuntu :: Installed It And Was Prompted To Enter Username And Password?

Feb 6, 2010

i'm new in ubuntu server..just installed it and i was prompted to enter my username and password..but theni got this prompt:administrator@ubuntuserver:

View 5 Replies View Related

Debian :: Can't Enter Password But Username Is Fine

Jul 8, 2010

I have setup a debian server and it has been working fine but I moved it to a different location and not I am getting a problem. When I start the server up, it loads fine and loggin prompt. I can enter the username "root" without any issues but as soon as I press enter, I am not able to enter password. The cursor just blinks and i press enter, the server responds by saying invalid password.

I was connecting a USB keyboard and changed to Ps/2 but this didn't make any difference.

View 5 Replies View Related

Red Hat :: Command Line Prompt But Not The Correct Bash Prompt?

Feb 2, 2011

I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.

View 6 Replies View Related

Ubuntu :: Could Not Log In After Crash (no Prompt To Enter Password)

May 11, 2011

My Ubuntu desktop crashed last night after I accidentally bumped into the CPU box. Right after I bumped into it, it restarted automatically ... then it ran disk integrity check, also automatically ...

The issue is that I can NOT log into it. There is no way that I could enter my password. Though I could telnet into it using my laptop (I have set up telnetd into this desktop before).

I am trying to search for similar issues in this forum but I could not find one that is really like this.I have all 5 years of work in the hard drive.

The two images below shows the issue it had done.

This is my login screen (note: whenever I click "nd-desktop", it doesn't give me prompt for password.

Uploaded with ImageShack.us

This is just the screen it gives me when I click "nd-desktop" above. Also, take note there are no usual options below that could change my preferred desktop etc.

Uploaded with ImageShack.us

View 9 Replies View Related

Ubuntu :: Loads White Page Then Go Back To Section To Enter Username & Password

Jul 19, 2010

when booting up the system it promts for user and pass. After entering username and password followed by enter the system looks like its going to start. But no, it loads a white page for a couple of seconds and then go back to the section where you enter username & password. Why? the user and pass was correct. If i hit ctrl + alt +f1 and use the same username and password i can login with the CLI. But not in the graphical login prompt. How does such a problem gets fixed?

View 4 Replies View Related

Fedora :: Configure Gdm To Prompt For Username?

Jul 17, 2009

Anyone know how to configure GDM 2.26.1 to NOT display the list of users, but instead just prompt for username and password?I tried the following (as normal user and also as root):

Code:
gconftool-2 -s /apps/gdm/simple-greeter/disable_user_list -t bool true
Then, I queried the value as follows:

[code]...

View 2 Replies View Related

General :: No Password Or Username Or Grub Prompt On Ubuntu Mac User?

Jan 30, 2010

I have bought a Mac Laptop however it has a username and password which I don't know. I've looked all over to see how I can overcome this lot's of people have said to enter at Grub prompt to take you to recovery, however I have no Grub prompt and Mac is not booting from cd rom.

View 1 Replies View Related

Server :: Samba Share Prompt Username / Password

Sep 21, 2009

I have set up my samba server. I tested from my windows side, all the public ones works fine except the [homes]. Here is my [homes] setting:

Code:
[homes]
comment = Home Directories
browseable = yes
writable = yes

The homes is suppose to let each user see his/her own home directory. But I tested at the windows side, I found that windows doesn't even prompt me about username or password, it just directly give me "not accessible" error. How do I config so my windows side at least prompt me about username/password?

View 12 Replies View Related

General :: No Prompt For Root Password After Attempting To Enter Single User Mode?

Jul 13, 2011

I followed instructions to enter single user mode by adding single at the end of kernel line but after that it doesn't ask for root password but brings up the sh# prompt. Isn't that supposed to be insecure? I understand for this the grub password can be applied but even after adding "single" it should ask for root password..or it should not..??

View 3 Replies View Related

CentOS 5 :: Squid Log Will Not Keep Username And Host Name?

Sep 16, 2011

I try to find what users visiting in terms of websites and the stations.webalizer do nice graphs.but, Squid log file only keep IP address with websites.I need squid to keep IP address along with host name and username of the person.how do I do it ?

I am thinking update squid to Dans-guardian.

Does Dans-guardian keep all username and host name ?

View 3 Replies View Related

Fedora :: Usual Username/password Prompt Laptop Comes Up With Smart Card Authentication & Can't Login?

Feb 8, 2010

Something has gone awry with my login. After the usual username/password prompt my laptop comes up with smart card authentication & I can't login. How do I get away from the graphical login so I can login & correct the problem?

View 3 Replies View Related

Ubuntu :: Sudo: Unable To Resolve Host Username Getting Error?

Nov 26, 2010

When I try to launch something from terminal, it shows this error.

gksudo gedit /etc/hosts

Quote:

127.0.0.1localhost
127.0.1.1matt-laptop
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

My computer always had this name and I never had concerns related to his name. So, what's wrong now?

View 8 Replies View Related

Programming :: Finding The Username Of A User Who Has Logged In (roaming Profile)

Mar 14, 2011

I want to be able to create a php webpage that will show the logged in users files and how full their home directory is (roaming profiles). The php side isn't a problem....the problem is how do i determine the username of the user who is logged into Linux not the webpage itself?

What i want is when the user opens this page, it knows who they are already. I have seen this done on an intranet at work (don't know what OS it is running on tho) where I login to the network, view the page and it says my name.

View 6 Replies View Related

Red Hat / Fedora :: When Log In, This File /etc/host, Under The Etc Directory Get Appended The Username?

Feb 19, 2010

I am having a problem with two linux boxes I have. They are running Centos 5.3 and Centos 5.4. The problem is that when I log in, this file /etc/host, under the etc directory get appended the username I am logging in as, the IP address I am logging in from, and worse, the password in clear text.This is the format it uses:username@IP (password in clear text) [Tue Jan 12 2010 13:00:26 -0500]Is it possible for someone to tell me what is this about, and how to stop it?

View 5 Replies View Related

Debian :: Enter Username And Password For Test Windows Account / So Debian Can Authenticate It?

Jul 7, 2011

I have a Windows domain with a proxy. I have an account that can use the proxy and the URL that points to the proxy.pac file. this might seem a stupid question but can anyone tell me how do I enter the username and password for my test Windows account so that Debian can authenticate it?

View 1 Replies View Related

General :: Finding IP Address Using Command Prompt?

Apr 4, 2010

I'm looking for a way to get my IP address using the command prompt in Linux. I know when you type "ifconfig" you can get your local IP address (i.e. 192.168.0.103), but I'm looking for my IP address that I get from my ISP. How can I get this from Linux without having to visit some website?

View 3 Replies View Related

General :: Bash Will Not Allow To Enter Tcsh?

Apr 1, 2011

I'm so lost it's difficult to even pose my question. My default shell is bash; and I'd like [actually, required to] have the ability to type csh and enter the TC shell...but it's not working at all. All the changes I made to the ~/.bashrc file work great, but I can't seem to access tcsh to see if the commands in my ~/.tcshrc file work.

When I type "csh", my old PS1 [prompt] displays and I have to type "exit" to get back to the one in the bashrc file and then type "bye" to log out off the system.

I've spent the last 3 days researching this, but every article/blog/site discusses permanently changing my log in...NOT going to happen.

View 7 Replies View Related

OpenSUSE Install :: Prompt To "Enter Password For Default Keyring To Unlock"?

Nov 15, 2009

openSuSe 11.2/Pidgin 2.6.2/KDE4.3.1 Have seen various threads about this, but no real fix. Everytime I start Pidgin I get the annoying prompt to "Enter password for default keyring to unlock".

View 9 Replies View Related

Networking :: Finding A Host In A LAN?

Mar 17, 2010

I've got two Linux machines plugged into my school's LAN, connected using DHCP: their IP addresses are randomly assigned. I'd like to be able to let them automagically find each other's IP.

View 1 Replies View Related

General :: The Terminal Displays Bash-2.3-$ Instead Of Username@computename?

May 11, 2011

My terminal is showing bash-2.3-$ instead of Username@computename.

View 5 Replies View Related

Ubuntu :: Getting Odd Bash Prompt Formatting?

Aug 19, 2010

I've run into something odd:

Code:

jdougher jdougher> cd
jdougher jdougher> echo $PS1
u W>
jdougher jdougher>

For some reason, rather than replacing $HOME with "~", my prompt just displays the name of my home directory.

View 2 Replies View Related

Debian Programming :: How To Do Code Bash Script To Run Su And Enter Password

Sep 15, 2014

Whats the bash script for like, how synaptic package manager runs ..

When you run synaptic it ask for root password ..

How do I do this in bash script?

View 5 Replies View Related

General :: Change Bash Prompt On Ubuntu?

Feb 2, 2011

I have one account on an Ubuntu server with the correct PS1 variable and I want to make one of my other accounts on the same server have the same PS1 variable, so that my prompt on this new account (when I ssh into the machine) is the same as the original account.

Is there a way that I can pass this PS1 variable between accounts so the prompt is the same?

I have tried printing it out, copying the output, and then reassigning it to PS1 on the new account, but it just doesn't work.

Here is what is printed when I type echo $PS1:

[e]0;u@h: wa]${debian_chroot:+($debian_chroot)}[�33[01;32m]u@h[�33[00m]:[�33[01;34m]w[�33[00m]$

I want to assign that prompt (shown above) to my new account.

View 2 Replies View Related

Programming :: Bash - Read User Input: URLs Without The Enter Key Stroke?

Sep 23, 2010

Here's a challenge I've been struggling for months with:

I have a bash script that reads URL addresses of our internal server and then executes some test commands on them. Something like this:

Code:
read -p "Enter URL: " url
sh execute-what-ever-to $url

After copy-pasting the URL the user taps the enter key and the script proceeds, but here comes the tricky part: I want this to work without the need to press the enter key after copy-pasting the URL.

"read -n" does not work in this case, as the URLs vary greatly in length. However, the URLs always end to the same string. They could be like "http://url1/END", "http://url2/END" and so on. So this ending string "END" could be theoretically used to recognize that the whole URL has been pasted.

View 2 Replies View Related

General :: After Entering Username And Password, It Is Asking "Enter Password To Unlock Your Login Keyring"

Jun 30, 2011

I'm using Ubuntu 10.04LTS. I'm trying to configure my chat accounts. But after entering username and password, it is asking "Enter password to unlock your login keyring". I have entered my login password. But it is saying that "The password you use to log in to your computer no longer matches that of your login keyring."

View 4 Replies View Related

Ubuntu :: Running A Command In The Alt+F2 Prompt Possible In Bash Scripts?

Jan 5, 2010

Is running a command in the Alt+F2 prompt possible in a bash script?I need this for a launcher for gnome-shell.For it I have written a little script to check if the process gnome-shell is alive and act accordingly.The script works fine, I just don't know how to write "debugexit" to the Alt+F2 prompt, as that is the only decent way I have found to shut gnome-shell down and going back to gdm desktop smoothly.

View 1 Replies View Related

Red Hat :: Changing Bash Color Prompt?

Mar 24, 2010

I was attempting to change the bash shell color prompt on my RHEL / CentOS 5 server. When I login as my user account on my server I can see my 'PS1':

Code:
[carlos@srv1 ~]$ echo $PS1
[u@h W]$

I want to change my PS1 to:

PS1='[e[1;32m][u@h W]$[e[0m] '

When I look in ~/.bashrc, I don't see my 'PS1' line so I am confused and wondering how I do this on RHEL / CentOS systems.

View 2 Replies View Related







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