Sponsored Content
Top Forums UNIX for Advanced & Expert Users Su To Diffent Account And Automate The Password Post 61697 by Phantom on Monday 7th of February 2005 04:23:55 PM
Old 02-07-2005
Quote:
Originally Posted by kingoice
I Need To Switch To A Different Account Before A Shell Is Executed. Unforturnately I Have To Call This Shell Via A Third Party App And The User Account Of The Processes That I Need To Kill Is Not The Same As The Default Account Gui Signs In As. I Need The Password To Be Hard Coded When Prompted After The Su Is Kicked Off.

Su Account
Password: (any Tips On How To Get This Password Populated Automatically)

-j
or use rsh -l <myuser> -h localhost
of course, you will need to create some "security hole" by setting up .rhosts for that user to allow application user execute remote shell as <myuser>.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ftp account change password

How can I change the password from an ftp user account on a ssh server? Please give me simple instructions for a users who hasn't a lot of experience. :D Just the words in form of a list thanks a lot. (1 Reply)
Discussion started by: m.seidenberg
1 Replies

2. Solaris

how can I change user name and password , of account ?

passwd only changes the password but i need to change the user name tnx (5 Replies)
Discussion started by: umen
5 Replies

3. UNIX for Dummies Questions & Answers

Change Account to not lock account if password expires

I have access to 15+ UNIX boxes at work, and I do not consistently log onto all of them over time. When I do try to access one I havent been on in awhile, my account is locked as the password has expired. I need to request to the UNIX SA's that the password expiration is 90 days and that if it... (1 Reply)
Discussion started by: stringzz
1 Replies

4. HP-UX

how can find account without password

first I would like to find account that without password second I would like to find when account login fail ,account lock time third I would like to find when system idle ,force user logout time thanks (1 Reply)
Discussion started by: alert0919
1 Replies

5. Solaris

Set Password Account to NP or NL

Hi Everyone, my name`s Sergio. I need your help please. I have a problem using Solaris 9. I create an account with the command line "useradd", with this I have no problem. My problem is I need set the created account to NP (No Password or Non Login). For example: cat /etc/shadow ... (2 Replies)
Discussion started by: roswell
2 Replies

6. Shell Programming and Scripting

Automate Kerboer kinit password

Hi, I just wonder if anyone know how to auto encode the kerberos kinit password at prompt. kinit command is inside the one of the script called runscript.sh so ./runscript.sh ...... kinit username Password for username@example.com: How do I auto input the password without need to... (5 Replies)
Discussion started by: netlink
5 Replies

7. Solaris

PASSWORD LOOPof Oracle account

hi ...can anyone help me with this.. i have to create a oracle account, whose passwd should be in oracle password loop i know how to create account but i got stuck with oracle password loop so please help me ASAP... thanks in advance.. (0 Replies)
Discussion started by: 6pound
0 Replies

8. UNIX for Advanced & Expert Users

Can we Automate the User creation and setting password through a script in solaris 10

Hi, I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool. Advance thanks for your response. (1 Reply)
Discussion started by: muraliinfy04
1 Replies

9. Shell Programming and Scripting

Problem to automate the change password

Hi. I know how to get new password from input file which have till Dec 2014 passwords with today's date, i want to change my password everyday for which i know how to set cron job that will run everyday in morning. once it is changed it should e-mail me if it successful or not. Can someone... (0 Replies)
Discussion started by: rajjev_saini123
0 Replies
dxaccounts(8)						      System Manager's Manual						     dxaccounts(8)

NAME
dxaccounts - Graphical interface for account administration SYNOPSIS
/usr/bin/X11/dxaccounts DESCRIPTION
The Account Manager application, dxaccounts, helps you manage user accounts on your Tru64 UNIX system. It operates on both base security level systems and enhanced security (C2) level systems. The Account Manager application lets you manage both the local and Network Information Service (NIS) UNIX account databases. NIS is used in order to centrally manage user accounts in a network environment. NIS lets participating systems share a common set of passwd and group files. NIS uses a client-server model. When the Advanced Server for Tru64 UNIX product is installed, the Account Manager application allows you to perform domain user account management for PC users. To start Account Manager from the CDE desktop:Choose the Application Manager from the CDE front panel. Choose the System_Admin group. Choose the DailyAdmin group. Click on the Account Manager icon. Online help is available for the dxaccounts application. To get help, click on any Help button or use the Help pull-down menu. Account Manager replaces the XSysAdmin(8) and XIsso(8) applications. RESTRICTIONS
You must have root privileges to modify system files with this application. If dxaccounts is run without root permission, you may view but not modify account information. In order to make changes to the NIS databases, you must run Account Manager on the machine designated as the NIS server. FILES
Defaults that are shared by the graphical user and command-line interfaces System and account defaults (enhanced security only) Group information for local groups Account information for local user accounts List of shells on the system Group information for NIS groups (on an NIS master) Account information for NIS user accounts (on an NIS master) Protected password authentication database files (enhanced security only) Protected password database (enhanced security only) Protected password database (enhanced security only) Account Manager application Account Manager help volume Account Manager help volume for enhanced security Directory containing Account Manager application icons Application defaults file that sets the default values for the X resources Account Manager message catalog Default directory for user account initial files SEE ALSO
Commands: auditmask(8), authck(8), groupadd(8), groupdel(8), groupmod(8), login(1), nis_intro(7), passwd(1), secsetup(8), useradd(8), userdel(8), usermod(8), XIsso(8), XSysAdmin(8) Functions: acceptable_password(3), getprpwent(3), getpwent(3) Files: authcap(4), default(4), group(4), passwd(4) Manuals: System Administration, Advanced Server for UNIX Installation and Administration, Advanced Server for UNIX Concepts and Plan- ning</docbook> dxaccounts(8)
All times are GMT -4. The time now is 09:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy