Linux / UNIX Tech Support Forum
This is a discussion on AIX /etc/security/user like file for Linux within the Getting started tutorials forums, part of the Linux Getting Started category; I'm a newbie in Linux. I understand that Linux and AIX has some similarity. However i tried to search whether ...
|
|||||||
| Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 rites).
Please advise. Thanks. |
| Sponsored Links | ||
|
|
|
||||
|
Quote:
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 Gite Linux Evangelist |
|
|||
|
Thanks Vivek,
We are looking at Segregation of Duties (checking whether developers are in the production environment). I want to see whether the users in the systems are having administrator's rights. From what i understand, the /etc/security/user can show me whether they are having that rights or not. This /etc/security/user also includes other attributes like the password information. So i'm just wondering whether these information can be extracted/captured in Linux. If yes, where can i get them? I hope you understand. By the way, what is PAM? Thanks. Regards, Teng Cheng |
|
||||
|
Quote:
Code:
vi /etc/sudoers Code:
visudo Code:
# User privilege specification root ALL=(ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # WWW-data can run any command w/o a password www-data ALL= NOPASSWD: ALL Quote:
=> Restrict the use of su command => Prevent from using or reuse same old passwords under Linux => OpenSSH Root user account restriction => Allow user to login via ftp but not via ssh/telnet and much more In short read PAM ADMIN Guide and other docs ==> The Linux-PAM Administration and Developer Guides Hope this helps!
__________________
Vivek Gite Linux Evangelist |
|
|||
|
gid 0 normally means in admin group or in wheel or in root group and yes they have admin rights. check in /etc/groups and vigr to change. PAM is messy and PAM is also compatible with trusted bsd. good luck. trusted bsd is like PAM somewhat, IMO. please do run chkrootkit and rkhunter and also run audit on users and utmp wtmp as much as you can. else livecd!
aite! too much posting making my fingers pain. time to hit the sack. later! p.s. this forum is techie hardcore and i never knew indian forums also could be techie. everytime i went like a virtual vanity insanity gaga limitless absurdity plus clueless forums in the net. three cheers to this forum. this geek is also a DJ! he is a DJ and he is a geek! so dont consider me just a geeky book worm! i do skid and scratch in real parties! :-p geeky part is which help me fetch bread. the difference between virtual and reality is same as mermaid is to walrus. play on playah! |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apply CentOS Linux package security updates from the Internet | raj | CentOS / RHEL / Fedora | 0 | 22-04-2008 01:53 AM |
| Alphabetical file name and list logged in user script | oronno | Shell scripting | 5 | 22-08-2007 12:10 PM |
| can not find user name in /etc/passwd file | subrata1in | Linux software | 2 | 26-03-2007 10:44 AM |
| Which Linux network services pose a security threat? | chimu | Linux software | 2 | 20-07-2006 06:59 PM |