APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Using SCO Unix 'asroot'


© June 1999 Tony Lawrence

authorization to change other users passwords, use passwd command


Message-ID: References: <376a6b5f.78467367@news.mindspring.com>

SCO uses "asroot" to have the functionality of "sudo". You can use sudo on SCO systems but the built-in method is "asroot" and the various kernel authorizations that go with it. For certain tasks, like controlling printers or changing passwords, a user can be given specific power for those functions. For example, to run passwd, the user needs "auth" authorization (and doesn't need "asroot" at all), which will let them run passwd for any other user that does NOT have "auth" authorization. The idea behind this is that this user can change other users passwords, but not root's, or that of any other user who has been granted this power. It would be a major danger to do this any other way.

This is a good example of giving partial power without full root authority.

See How can I make a shell script setuid so that ordinary users may use root privilege commands?.

Unixware uses tfadmin for similar functionality: uw7 root privileges sudu asroot.

If you'd rather use sudo: Basics: Using sudo, Problems running SUDO on SCO, syslog.conf uses TABS prior to 5.0.6.

There are people who feel that no one should ever have direct root access, that all system maintenance should be done through sudo or something like it. Apple's Mac OS X largely follows that, and I'm not uncomfortable with it though I do have some reservations: sudo vs. root access.

See "man authorize"


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> authorization to change other users passwords, use passwd command ––>Re: asroot passwd: not authorized


Inexpensive and informative Apple related e-books:

Take Control of OS X Server

Take Control of High Sierra

Take Control of Automating Your Mac

iOS 8: A Take Control Crash Course

Take Control of iCloud, Fifth Edition




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





There is no reason anyone would want a computer in their home. (Ken Olson, president, chairman and founder of DEC)




Linux posts

Troubleshooting posts


This post tagged:

Administration

SCO_OSR5

Security



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode