# # authorization to change other users passwords, use passwd command ––>Re: asroot passwd: not authorized
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Using SCO Unix 'asroot'

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© June 1999 Tony Lawrence

authorization to change other users passwords, use passwd command


Message-ID: References: <[email protected]>

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"


If you found something useful today, please consider a small donation.



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