View Single Post

  #2 (permalink)  
Old 05-30-2007, 02:09 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by ftengcheng View Post
I'm a newbie in Linux. I understand that Linux and AIX has some similarity. However i tried to search whether there is a file system of /etc/security/user (like in AIX). In this file, i can see all the attribute of each individual users in the system. Is there somthing similar in Linux? I want to see whether the user is an admin (or having admin rite.

Please advise.

Thanks.
There is no such file which defines extended user attributes such as su , account_locked and so on. However there are other files and ways to accomplish some of the security issues. Basically the /etc/security/user is bit outdated and Linux use PAM based security mechanism. Can you tell me what you are trying to do? On a related note look at /etc/security directory it has some of the functionalities provided by the AIX user file in different files such as
access.conf : Use login access permissions
group.conf : Group related permissions
limits.conf : Put resources limitations
pam_env.conf : setup session management PAM variables
time.conf : Specifies the times, days, or both, the user is allowed to access the system.
/etc/pam.conf and /etc/pam.d/* PAM configs
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote