sudo file in sco unix


 
Thread Tools Search this Thread
Operating Systems SCO sudo file in sco unix
# 1  
Old 07-10-2012
sudo file in sco unix

Please could some one help me with sudo euivalent file in sco unix
# 2  
Old 07-10-2012
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.
# 3  
Old 07-17-2012
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
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}

This User Gave Thanks to jgt For This Post:
# 5  
Old 08-08-2012
thanks for the reply it helps
how do we identify users with root or privilaged access like sudo in linux
# 6  
Old 08-08-2012
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?
# 7  
Old 08-08-2012
Quote:
Originally Posted by jgt
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 11:45 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error UNIX: UNIX SCO release 5.05 system does not boot

UNIX sco release 5.05 system does not boot:cannot open device hd(40)/boot stage 1 boot failure: error loading hd(40)/bootWhat to do? (2 Replies)
Discussion started by: Joaoalpande
2 Replies

2. SCO

Sco unix 5.0 copy file to pen drive

I have a server unix Sco 5.0 and copy some backup files to flopy drive using command "Tar", but i like copy this files to pen drive, is possible ? my know about Sco is less. Tks (1 Reply)
Discussion started by: ger2112
1 Replies

3. SCO

Sco Unix HFS file system error

HI, I have sco unix server currently i am trying to boot its not booting and giving error as HTFS error message contains - Warning : can not identify block 496 for i number 438 on HTFS dev hd (1/42). Warning : exit - /etc/init (PID 1) died, status 0x0000008B server is not getting boot... (0 Replies)
Discussion started by: islamsk
0 Replies

4. SCO

sco unix backward compatibility on "max open file per process"

Hi How to increase maximum number of open file in "sco xenix binary" running in "sco unix openserver 5.0.7" ? I have changed "NOFILES" kernel parameter to 512, but xenix binray can't open more than 60. tnx (4 Replies)
Discussion started by: javad1_maroofi
4 Replies

5. Solaris

how to config sudo in unix boxes

Hi How to configure sudo in all unix boxes. plz provide the step by step process. Regards Praveen (3 Replies)
Discussion started by: tv.praveenkumar
3 Replies

6. SCO

load sco xenix and sco unix binary ?

Hi I have some sco xenix object, bin and archive files that operate in sco unix 5.0.7. I know that sco unix kernel can support sco xenix binary. I want to know how can I link xenix and unix archives together? (0 Replies)
Discussion started by: javad1_maroofi
0 Replies

7. UNIX for Dummies Questions & Answers

Print a Graphics File using a SCO Unix Command

I'm using SCO_SV release 3.2v5.0.7 and would like to know how to print a Graphics file (a .tif file) to a HPLaserJet printer using a SCO unix command. I've used nothing but the 'lp' command to print reports to different printers. (I found an answer, I did a find for tiff* and came up with the... (0 Replies)
Discussion started by: Steve_93630
0 Replies

8. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies

9. SCO

how can I create a dos file in sco unix?

I want to output something to file1. And I want to see it in windows xp would you tell me how? (2 Replies)
Discussion started by: fresh
2 Replies

10. Filesystems, Disks and Memory

SCO TCP/IP runtime System for SCO Unix

Hi everyone i have a question for all of you. It may be basic or it may be a good one. I recently aquired a copy of "SCO TCP/IP runtime System for SCO Unix" (thats what the disks say) and for the life of me i can not get it to load. i have tried opening the disk in linux and it can not determine... (0 Replies)
Discussion started by: Cerberus
0 Replies
Login or Register to Ask a Question