05-15-2012
i am not having root access .....in a shell script , which automatically logs me in using these credentials
username:- ftptomsp
password:- AG53Tt3iK2
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i mistyped the location of bash and now i can't login as the only other user who belongs to wheel on my freebsd box.
since i'm having many problems with samba, this has frozen my attempts to get things resolved with the former issue.
i've been told that 'su -m' should do the trick, but it's... (3 Replies)
Discussion started by: xyyz
3 Replies
2. Shell Programming and Scripting
Does anybody know how to make a shell script that finds all the times that any user su'ed to root and create a cron job sends that file output via e-mail to one user?
Thanks!:confused: (1 Reply)
Discussion started by: jrvilino
1 Replies
3. SCO
I need to regular users to be able to launch a script which does something requiring root privilages. I've tried using chmod 4755 which gives it
-rwsr-xr-x permissions but it still can not be run as the regular user. (1 Reply)
Discussion started by: checkpro
1 Replies
4. Shell Programming and Scripting
i have logged in as user.
I want to write a script to login into root and execute commands for eg. ifconfig or other command.
kindly help me out. (6 Replies)
Discussion started by: pradeepreddy
6 Replies
5. Shell Programming and Scripting
Hi All
I have written one shell script for GPRS route add is given below named GPRSRouteSet.sh
URL="www.google.com"
VBURL="10.5.2.211"
echo "Setting route for $URL for GPRS"
URL_Address=`nslookup $URL|grep Address:|grep -v "#"|awk -F " " '{print $2}'|head -1`
echo "Executing ... (3 Replies)
Discussion started by: mnmonu
3 Replies
6. Shell Programming and Scripting
Ok, so, in order to install some dependencies of a program I made, a script has to be run as root. The thing is that I have to copy some things into the home folder of currently logged in user, but the variable $HOME returns '/root' and the $USER returns 'root' :(
Is there any way to see who is... (7 Replies)
Discussion started by: hakermania
7 Replies
7. Shell Programming and Scripting
Hi Gurus,
I need help in writing a script which should say which user has used or logged in in the server from past one month using FTP or TELNET and the output should be of the form
Username Service NumberofTimes Date.
Thanks in Advance.
---------- Post updated at 04:01 PM... (1 Reply)
Discussion started by: rama krishna
1 Replies
8. Shell Programming and Scripting
hi,
i want to login as a different user inside a shell script and then call another shell script from that script.
how to do that?
original script : script_A.sh
so when the script_A.sh is called , i want to login as a different user and then call another shell script(script_B.sh) from... (3 Replies)
Discussion started by: Little
3 Replies
9. Shell Programming and Scripting
Hi,
I need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies
10. Shell Programming and Scripting
Guys please help me I have a linux class and I want to write a shell script who shows which user loged in and show the process that are active in his/her shell in another text file and email that file to root just when the user loged out
Thanks every bod (1 Reply)
Discussion started by: hamedk1122
1 Replies
LEARN ABOUT MOJAVE
git-credential-store
GIT-CREDENTIAL-STO(1) Git Manual GIT-CREDENTIAL-STO(1)
NAME
git-credential-store - Helper to store credentials on disk
SYNOPSIS
git config credential.helper 'store [options]'
DESCRIPTION
Note
Using this helper will store your passwords unencrypted on disk, protected only by filesystem permissions. If this is not an acceptable
security tradeoff, try git-credential-cache(1), or find a helper that integrates with secure storage provided by your operating system.
This command stores credentials indefinitely on disk for use by future Git programs.
You probably don't want to invoke this command directly; it is meant to be used as a credential helper by other parts of git. See
gitcredentials(7) or EXAMPLES below.
OPTIONS
--file=<path>
Use <path> to lookup and store credentials. The file will have its filesystem permissions set to prevent other users on the system from
reading it, but will not be encrypted or otherwise protected. If not specified, credentials will be searched for from
~/.git-credentials and $XDG_CONFIG_HOME/git/credentials, and credentials will be written to ~/.git-credentials if it exists, or
$XDG_CONFIG_HOME/git/credentials if it exists and the former does not. See also the section called "FILES".
FILES
If not set explicitly with --file, there are two files where git-credential-store will search for credentials in order of precedence:
~/.git-credentials
User-specific credentials file.
$XDG_CONFIG_HOME/git/credentials
Second user-specific credentials file. If $XDG_CONFIG_HOME is not set or empty, $HOME/.config/git/credentials will be used. Any
credentials stored in this file will not be used if ~/.git-credentials has a matching credential as well. It is a good idea not to
create this file if you sometimes use older versions of Git that do not support it.
For credential lookups, the files are read in the order given above, with the first matching credential found taking precedence over
credentials found in files further down the list.
Credential storage will by default write to the first existing file in the list. If none of these files exist, ~/.git-credentials will be
created and written to.
When erasing credentials, matching credentials will be erased from all files.
EXAMPLES
The point of this helper is to reduce the number of times you must type your username or password. For example:
$ git config credential.helper store
$ git push http://example.com/repo.git
Username: <type your username>
Password: <type your password>
[several days later]
$ git push http://example.com/repo.git
[your credentials are used automatically]
STORAGE FORMAT
The .git-credentials file is stored in plaintext. Each credential is stored on its own line as a URL like:
https://user:pass@example.com
When Git needs authentication for a particular URL context, credential-store will consider that context a pattern to match against each
entry in the credentials file. If the protocol, hostname, and username (if we already have one) match, then the password is returned to
Git. See the discussion of configuration in gitcredentials(7) for more information.
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-CREDENTIAL-STO(1)