11-14-2003
Someone please correct me if I am wrong, but I think the way to use this is:
chmod +s <file in question>
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
pkay, I wrote a very long shell program to manage the task of creating user accounts
now, the script I wrote that sets a temporary password for users makes it possible for anybody to see it.
what I mean is that, when I type the temp password for the new user, it shows the exactly letters am... (1 Reply)
Discussion started by: TRUEST
1 Replies
2. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
3. Shell Programming and Scripting
Can someone look at the below code and let me know what's wrong with it. I keep getting syntax error on line 24 in the script. This is the full command from line 20-30
pw=" "
password = "password"#
while ]
do
read -s -p "Enter password:" pw
echo " "
if ]
then
echo " Correct password... (1 Reply)
Discussion started by: bbbngowc
1 Replies
4. Shell Programming and Scripting
Hi Experts,
I had tried to executes this script to change the user password through script:
No lines in buffer
#!/bin/ksh
cat /etc/passwd | grep -v userid >> /tmp/pass.tmp1
cat /etc/passwd | grep userid >> /tmp/pass.tmp2
PASS1=`cat /tmp/pass.tmp2 | cut -d ":" -f2`
PASS2=`q2w3e4r5`
sed... (3 Replies)
Discussion started by: indrajit_renu
3 Replies
5. UNIX for Advanced & Expert Users
Hi
I do a very simple monitoring of our OpenLDAP (runs in cronjob and generate alerts if unsuccessfull)
$ ldapsearch -h hostname.domain -D "cn=monitor_user,ou=People,dc=organisation" -w "password" -b "dc=organisation" -x "(&(cn=monitor_user)(ou=People))" dn | grep -v version
dn:... (4 Replies)
Discussion started by: slashdotweenie
4 Replies
6. Shell Programming and Scripting
Hi Gurus,
I have an issue to use the passwd in my script.
in the script, I need log into the ftp server and get file.
I put the user name and password in my script, but each time when I run the script, it still ask the password.
I am wondering, is there any way I can put the password... (3 Replies)
Discussion started by: ken6503
3 Replies
7. Shell Programming and Scripting
I want to give my long scripts to customer. The customer must not be able to read the scripts even if he has the password. The following command locks and unlocks the script but the set +x is simply ignored.
The code:
read -p 'Script: ' S && C=$S.crypt H='eval "$((dd if=$0 bs=1 skip=//|gpg... (7 Replies)
Discussion started by: frad
7 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup.
I am working on Solaris 10.
Here is the code.
#!/bin/ksh
# sample automatic Sftp script to dump a file
USER="user1"
PASSWORD="pass1"
HOST="host1"
sftp $USER@$HOST... (6 Replies)
Discussion started by: megha2525
6 Replies
9. Shell Programming and Scripting
Dear All,
I have a requirement where I have to SFTP or SCP a file in a batch script. Unfortunately, the destination server setup is such that it doesn't allow for shell command line login. So, I am not able to set up SSH keys. My source server is having issues with Expect. So, unable to use... (5 Replies)
Discussion started by: ss112233
5 Replies
10. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT DEBIAN
jifty::plugin::authentication::password::view
Jifty::Plugin::Authentication::Password::View(3pm) User Contributed Perl Documentation Jifty::Plugin::Authentication::Password::View(3pm)
NAME
Jifty::Plugin::Authentication::Password::View - views for password plugin
DESCRIPTION
This provides the templates for the pages and forms used by the password authentication plugin.
TEMPLATES
signup
Displays a sign-up form.
login
Displays the login form.
login_widget
A handy template for embedding the login form. Just include it in your templates via:
show('/login_widget');
See Jifty::Plugin::Authentication::Password::Action::Login.
let/reset_lost_password
After requesting a password reset and clicking on the link sent by email, this receives that click and provides the form for resetting the
password.
See Jifty::Plugin::Authentication::Action::ResetLostPassword.
let/confirm_email
Handles the work of confirming an email address for a new account.
See Jifty::Plugin::Authenticaiton::Password::View.
lost_password
Starts the process of sending a link to reset a lost password by email.
See Jifty::Plugin::Authentication::Password::SendPasswordReminder.
resend_confirmation
Request a new email confirmation message be sent to your email account.
See Jifty::Plugin::Authentication::Password::Action::ResendConfirmation.
SEE ALSO
Jifty::Plugin::Authentication::Password, Jifty::Plugin::Authentication::Password::Dispatcher
LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself.
perl v5.14.2 2010-12-10 Jifty::Plugin::Authentication::Password::View(3pm)