12-29-2012
Thank you for the quick reply, I think I didn't explain myself very well.
Basically, I built a UI in Maya. Within that UI the user will enter a UserName and a Password into their appropriate fields. What I'm trying to achieve is a way verify that the user and pass entered are actually valid and not misspelled or just plain wrong.
I am using Maya's "system" function to execute unix commands from within maya. That's why a one line verification would be best.
As far as i can tell there's no way for me to answer a prompt using this method. So for example i can't enter the username and then wait for a prompt to enter the password. Whatever command i send from maya to the terminal, it has to have a return answer of some kind.
Thanks
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can we write a script to telnet to a unix server from unix with the username and password hardcoded in the script??
something like ssh a@b -p password ??? (5 Replies)
Discussion started by: roshanjain2
5 Replies
2. Shell Programming and Scripting
edited and removed (0 Replies)
Discussion started by: mdpalow
0 Replies
3. UNIX for Advanced & Expert Users
Helo ,
I m using linux pam library for user and its password authentication.
I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me
$ su - ram
Password:
You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies
4. OS X (Apple)
When i try to install some software OSX asks for a password but i don't use a password at all. Somebody knows a answer please???
asta (4 Replies)
Discussion started by: astapopulos
4 Replies
5. UNIX for Dummies Questions & Answers
hi all,
i run sqlplus command on unix(HP-UX)
like "sqlplus username/password@serverA @deneme.sql"
but when someone run "ps -ef | grep sqlplus", it can see my username and password :(
How can i hide username and password.
thanx. (1 Reply)
Discussion started by: temhem
1 Replies
6. Shell Programming and Scripting
Dear All,
I am new to unix and I am trying to build a shell script which will connect to a different server by passing username and password from a file or command line but not manually...
In short I dont want to connect to a diff server via ftp interactively.
Any suggestion...looking... (8 Replies)
Discussion started by: Pratik4891
8 Replies
7. Solaris
Hello, I have two old Solaris machines
$ uname -a
SunOS unknown 5.8 Generic_117350-39 sun4u sparc SUNW,UltraAX-e2
unfortunately, it has been so long ago that i have used these that the root password has left my head...
i can log into one of the machine as a normal user, but am unable to... (4 Replies)
Discussion started by: Norman Khine
4 Replies
8. Shell Programming and Scripting
Hi
I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
Discussion started by: somersetdan
5 Replies
9. UNIX for Dummies Questions & Answers
Picked up a 3b2 running System V. Works fine, but it requires a username and password. Is the username "root" or "sysadm"? How do I find out and how to I reset it or bypass it?
Thanks. (2 Replies)
Discussion started by: TanRuNomad
2 Replies
10. Shell Programming and Scripting
Hello,
I am currently working on a project that requires me to remote login into another UNIX system using different credentials. The problem is that progamatically I cannot simply feed the password into the UNIX system. Is there a way to feed the password within one command line statement.
I... (1 Reply)
Discussion started by: myoung88
1 Replies