Questions tagged [prompt]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

Custom SSH password prompt on Linux

I want to modify the ssh (OpenSSH) password prompt on ssh user@10.1.1.1 from: user@10.1.1.1's password: to: user's password: How can achieve this?
user avatar
0 votes
1 answer
96 views

When using rsh i'm getting prompt for the password, but other SLES12 servers are working without prompting password

[ 2 root ] $ cat /etc/securetty # # This file contains the device names of tty lines (one per line, # without leading /dev/) on which root is allowed to login. # tty1 tty2 tty3 tty4 tty5 tty6 rsh ...
user avatar
0 votes
1 answer
36 views

The {0} ok prompt is missing a # inside the {} [closed]

We have tried to replicate at our lab facility but were unable to get empty braces {}. We tried with hard drives in place and with none. There is also no errors indicated when using the rotary switch ...
user avatar
  • 11
0 votes
1 answer
284 views

Cognos Analytics 11.1.6 - Reports Requesting User ID and Password When Clicked

I'm running Cognos Analytics 11.1.6 and restored a bunch of reports from the previous server that was running 10.2.2. A user mentioned that when she clicks a report on the 11 instance she is required ...
user avatar
  • 598
2 votes
1 answer
52 views

PS variable for expansion of word designators

Is there an undocumented PS variable like PS2 that bash would show when it replaces a word designator into its actual value? I think it would help clarify where the command ends and where the ...
user avatar
  • 132
1 vote
3 answers
5k views

Ansible - Is it possible to skip the execution of a role?

Here is my main playbook, which launch the roles listed below --- - hosts: slaves roles: - ntp - nmap - tcpdump - unattended-upgrades - traceroute - apache ...
user avatar
  • 11
2 votes
1 answer
2k views

How to display user@hostname in SSHD password prompt

When I SSH to a server, the prompt sometimes displays my user and the hostname of the server: xavier@local:~$ ssh server1 xavier@server1's password: Sometimes all I get is Password: xavier@local:~...
user avatar
  • 400
0 votes
1 answer
25 views

how do i edit the username and password prompt window for my protected virtual path?

I am using abyss web server X2 to create this username and password prompt window for my protected virtual path. I would like to edit this prompt window or pop up with my custom text for the visitors....
user avatar
-1 votes
1 answer
604 views

Not getting the console login prompt in HP ILO 3

Not able to get the console login in the ILO 3. When I am entering the vsp command in the ilo it is not showing the console login prompt. Tried to reset the ilo(from the Diagnostic Option in the Web ...
user avatar
3 votes
1 answer
4k views

Trouble using powershell output as a variable in batch file

I can manually run this command from a Windows Command Prompt: powershell (new-timespan -start 01/01/2000 -end (get-date)).days % 14 And it returns a number from 0 to 13. I want to use this result ...
user avatar
1 vote
1 answer
2k views

Change login prompt on Debian server

I need to change a telnet login prompt of Debian 4.0 server. Currently it is of form: hostname login: I need to have just: login: Apparently chnages to /etc/issue.net only influence what is ...
user avatar
1 vote
3 answers
263 views

Where are all the places Windows environment variables set?

When I run cmd.exe and type 'set' I have a %LIB% variable set. The value is pointing to a folder that doesn't exist, which causes warnings during Visual Studio compiles. Here's the thing... If I go ...
user avatar
  • 1,987
2 votes
4 answers
2k views

How to lock user in a shell script program?

Let's say I have a Linux OS without desktop environment. After the PC finish boot up, it will directly show the shell terminal to the user. I plan to write a shell script program and make it ...
user avatar
2 votes
3 answers
793 views

What's wrong with this bash prompt?

I use the following entry in ~/.bashrc file to colorize the prompt and display current branch of git repository: PS1='\[\e[1;32m\]\[\u@\h\]\[\e[m\] \[\w\]\[\e[1;1m\]\[$(__git_ps1 " (%s)")\] \[\e[1;1m\...
user avatar
  • 1,431
0 votes
1 answer
1k views

unwanted password prompt pops up on web server?

my web server randomly asks for a password as though basic authentication is turned on. It's an IIS 7 web server and you have to specifically install basic authentication in the roles section. It isn'...
user avatar
2 votes
4 answers
207 views

a unix single-line editor/prompt?

I've got a bash script that would be nicer if when I prompt the user, rather than just asking for input, if it provided a line that the user could edit (but a full text editor would be overkill, it's ...
user avatar
  • 357
11 votes
3 answers
3k views

Bash: how to know if the last command's output ends with a newline or not?

Most of the time the output of a command ends with the newline character. But sometimes it does not, so the next shell prompt is printed in the same line together with the output. Example: root@...
user avatar
  • 1,460
5 votes
4 answers
5k views

Prompt customization: how to detect when there is no tty

I have a customized prompt with colors (using tput) and every time I start a non-interactive session in the server I get a bunch of errors. For instance if I start a non-interactive session like this: ...
user avatar
  • 1,460
8 votes
1 answer
3k views

Bash custom prompt breaking wrapping of long command lines

I have a custom bash prompt that colours my username, hostname and current working directory. The colours display correctly, however when I type a command line that needs to wrap, the terminal does ...
user avatar
4 votes
9 answers
30k views

Is there a way to delay a forced reboot?

I realize this is more appropriate for our company's admin group to field. However, pretend they are unresponsive just for the sake of discussion =) If my system is prompting me to reboot now or in a ...
user avatar
7 votes
3 answers
958 views

Getting more helpful tab completion prompts in bash?

Let's say I have a directory with a few files in it like this: $ ls file1 file2 file3 And I want to do some tab completion in bash: $ cat file<tab> file1 file2 file3 I remember seeing ...
user avatar
  • 30.1k
3 votes
5 answers
2k views

Who decided the default shell prompts in Linux?

There are a couple of defaults in the standard Linux shell, bash, that I think need some history brought out. This question is about the prompt. The default prompt in bash in many Linux distros is [\...
user avatar
  • 1,529
2 votes
4 answers
755 views

How can I copy sanely (not using "Mark") from the Windows command prompt

Given a very long single command at the command line in Windows, I'd like to simply copy that command into clipboard. I am just looking for the ubiquitous Shift-End , Ctrl-C type functionality almost ...
user avatar