![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Expired password doesn't prompt for change | mark24p | SUN Solaris | 2 | 04-28-2008 04:15 PM |
| Stopping password prompt | rochitsharma | UNIX for Advanced & Expert Users | 4 | 07-04-2006 01:14 PM |
| password not prompt when doing a remote log in | legato | UNIX for Dummies Questions & Answers | 1 | 04-19-2005 07:20 AM |
| Unable to get password prompt | owls | IP Networking | 2 | 11-12-2003 02:17 AM |
| rcp without password prompt | scottl | UNIX for Dummies Questions & Answers | 1 | 09-15-2003 07:47 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
any way to use SU command without prompt for password
Hi,
First i want to tell you i am not a administrator and everytime to run a sqlscritpt i have to login as SU in a particular account to connect to sqlplus.. I want to write a script which can make me free by doin this .. since i am having the permission for SU i want to know if i can SUDO into that particular account without getting a prompt for entering password ... Is there a way i can provide password to SU so that it doesn't give me password prompt.. Thanks for any help you can provide me in this .... |
|
||||
|
Hi guys ,
Thanks for the reply and sorry for not letting you the flavour of UNIX i am working on .. I am on SUN solaris 5.7 .... I do have the sudo installed but don't have access to view the /etc/sudoers file . My point is if i am authorize to do a particular thing then i should be able to do it within my login ... Looking for a way to do it ... I will take care of the security issue .... See if u can help me out c ya |
|
||||
|
Hi Keith,
Thanks for letting me know about RBAC.But sadly i don't seem to have any man entry for either of these : user_attr, exec_attr and prof_attr. Don't really know what exactly these are .. Would be great if you could tell me abt these attributes in detail .. Really appreciate your help Take care |
|
|||||
|
RBAC is a sadly under used facility in Solaris. The nice thing about RBAC is that if you are using auditing to meet C2 compliance, the audit trail is maintained, whereas such tools as sudo don't address BSM options in Solaris and break the audit trail. I don't have 5.7 running anywhere (just 8/9), so I'd take a close look at the file formats before following my example.
Oops - there's the call for dinner. I'll post the example tonight. Typically you administer RBAC from the SMC, but I don't like it and tend to leave it off and edit the files directly. You can grab some blueprints from sun.com/bigadmin. Cheers, Keith |
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|