The -c flag will make sure that the password doesn't need to be changed at next logon.
Although if this is shared application account you may wish to consider having users login as themselves and switching to the appuser via sudo - where they enter there own password rather than that of the account. That way it is possible to track which users have been working in the appuser account,
Last edited by ross.mather; 02-20-2011 at 07:50 AM..
Reason: typo in code
Hello out there in unix.com land. I am Cerberus and this is my first post. I am brand new to Unix and i have a quesiton for you all.
Relating to the Unix Password File Setup, what is:
User ID?
Password?
any insite comparing one to the other as far as specifics would be greatly... (2 Replies)
I know the typical way to script automate an ftp session is to pass all of the commands to ftp, with something 'like' the following:
echo USER $user
echo PASS $pass
My question concerns other methods or tricks people have used so that the username and ESPECIALLY the password are... (7 Replies)
Good morning!
I am using a shell script to back up user email files to a remote location. The problem is, one (and apparently more than one) users have the symbol "@" in their password. As you can see from the line:
/sbin/mount_smbfs... (5 Replies)
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)
Hi,
Can any one please tell me the way to Authenticate success or failure of the login.
Here is my req:
I have to telnet to multiple unix servers and execute the a script there which will give me an integer output. This output should be directed to a txt file.
i dont want to provide... (1 Reply)
hey Guys, I haven't posted in a while, But you guys were really helpful alst time.
I have had a issue with User Passwords expiring, and since I dont check /var/cron/log on the regular I never know these suers are expiring, making certain nightly jobs not run.
With this script, I want to be... (14 Replies)
Can someone help in writing some script through which I can transfer file (scp) from root user in abc server to crt user in hfg server and can give the crt user password in script itself so that it doesn't prompt me every time for password (4 Replies)