Go Back   The UNIX and Linux Forums > Operating Systems > SCO


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-10-2012
Registered User
 
Join Date: Jul 2011
Posts: 101
Thanks: 7
Thanked 4 Times in 4 Posts
sudo file in sco unix

Please could some one help me with sudo euivalent file in sco unix
Sponsored Links
    #2  
Old 07-10-2012
jgt's Avatar
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 1,418
Thanks: 1
Thanked 131 Times in 126 Posts
Not identical, but see "su", and "chmod +s".

Also look at authorizations and privileges in Account Manager (scoadmin)

---------- Post updated at 09:37 PM ---------- Previous update was at 12:19 PM ----------

You might also consider using rksh in conjunction with "chmod +s" to create an environment where the user cannot change directories, or execute a command with a "/" in it.
Sponsored Links
    #3  
Old 07-17-2012
Registered User
 
Join Date: Jul 2011
Posts: 101
Thanks: 7
Thanked 4 Times in 4 Posts
thanx Jgt
sorry for late reply i was away these days.

I need to check all the users who have root level privilage on the sco box
    #4  
Old 07-17-2012
jgt's Avatar
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 1,418
Thanks: 1
Thanked 131 Times in 126 Posts
SCOAdmin-->AccountManager-->User-->Authorizations

If you have a lot of users you may want to use "userls -A" to list all attributes for all users into a text file. A sample single line of output:

Code:
jack            {pw_name jack} {pw_uid 1001} {loginGroup group} {pw_gid 50} {pw_
dir /usr/jack} {pw_shell /usr/bin/bash} {groups {other group}} {groupsForLogins 
other:1} {auditMask none} {mode 16877} {noPassword 0} {comment {Jack Tearle}} {p
asswdSuccessfulChangeTime 1321380554} {lastSuccessfulLoginTime 1340720274} {admi
nistrativeLockApplied 0} {passwdMinChangeTime 0} {passwdExpirationTime 0} {passw
dLifetime 0} {maxLoginAttempts 99} {passwdUnsuccessfulChangeTime {}} {lastSucces
sfulLoginTty ttyp1} {lastSuccessfulLogoutTty {}} {lastSuccessfulLogoutTime {}} {
lastUnsuccessfulLoginTime 1321380522} {lastUnsuccessfulLoginTty ttyp2} {passwdUn
successfulChangeTime {}} {unsuccessfulLoginAttempts {}} {passwdGeneratedLength 8
} {passwdChooseOwn 1} {passwdRunGenerator 1} {passwdCheckedForObviousness 0} {pa
sswdNullAllowed 1} {userType general} {owner {}} {nice 0} {passwdUser jack} {suO
nly 0} {privs {suspendaudit configaudit writeaudit execsuid chmodsugid chown}} {
auths {audit auth backup cron lp mem sysadmin terminal uucp root audittrail su p
asswd queryspace create_backup restore_backup printqueue printerstat shutdown}} 
{defaultAttributes {nice privs auths passwdMinChangeTime passwdGeneratedLength p
asswdExpirationTime passwdLifetime passwdChooseOwn passwdRunGenerator passwdChec
kedForObviousness passwdNullAllowed maxLoginAttempts}} {defaultedAttributes {nic
e passwdMinChangeTime passwdGeneratedLength passwdExpirationTime passwdLifetime 
passwdChooseOwn passwdRunGenerator passwdCheckedForObviousness passwdNullAllowed
 maxLoginAttempts}} {distributed 0} {isASUUser 0}

The Following User Says Thank You to jgt For This Useful Post:
robo (07-17-2012)
Sponsored Links
    #5  
Old 08-08-2012
Registered User
 
Join Date: Jul 2011
Posts: 101
Thanks: 7
Thanked 4 Times in 4 Posts
thanks for the reply it helps
how do we identify users with root or privilaged access like sudo in linux
Sponsored Links
    #6  
Old 08-08-2012
jgt's Avatar
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 1,418
Thanks: 1
Thanked 131 Times in 126 Posts
I find your last post ambiguous.
Do you want to know how to identify users on a linux machine that have root privileges?
Do you want to know how to identify users on a SCO machine that have privileges similar to sudo on linux?
Sponsored Links
    #7  
Old 08-08-2012
Registered User
 
Join Date: Jul 2011
Posts: 101
Thanks: 7
Thanked 4 Times in 4 Posts
Quote:
Originally Posted by jgt View Post
I find your last post ambiguous.
Do you want to know how to identify users on a linux machine that have root privileges?
Do you want to know how to identify users on a SCO machine that have privileges similar to sudo on linux?
sorry about that

yeah i need to find out users with root access and also users who have privilages to certain commands or dir
or i would like to know how can we define privilage levels in sco unix

Last edited by robo; 08-08-2012 at 10:45 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ssh foo.com sudo command - Prompts for sudo password as visible text. Help? fluoborate Shell Programming and Scripting 9 11-02-2011 02:18 PM
how to config sudo in unix boxes tv.praveenkumar Solaris 3 11-03-2010 12:58 PM
Unable to use the Sudo command. "0509-130 Symbol resolution failed for sudo because:" Chloe123 UNIX for Dummies Questions & Answers 1 12-21-2009 04:09 PM
Execute .sh file with sudo in it _prasad Shell Programming and Scripting 2 06-13-2008 04:39 PM
Sudo file not saved Asteroid UNIX for Advanced & Expert Users 0 07-30-2007 07:18 AM



All times are GMT -4. The time now is 10:39 PM.