![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| user with limited privileges | Juha | SUN Solaris | 1 | 03-17-2008 03:02 AM |
| new user - basic privileges | melanie_pfefer | UNIX for Advanced & Expert Users | 1 | 12-07-2006 12:49 PM |
| URGENT: Password modification for oracle user | ashvik | UNIX for Advanced & Expert Users | 2 | 11-24-2006 06:10 AM |
| root user (urgent!!) | charbel | Shell Programming and Scripting | 3 | 09-27-2006 04:58 PM |
| User Privileges | gdboling | UNIX for Advanced & Expert Users | 1 | 10-29-2002 06:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Privileges User ((Please urgent))
Hi ,,,
I create new user on AIX 5.2 but the user have privileges root user Why the user have privileges root user although the user specification not the same specification root user ??? PLease help me ... |
|
||||
|
With which command or procedure do you create the users? What exactly is the output of this command or script? Please provide an excerpt of /etc/passwd with the line(s) representing the users you have created so far.
Finally, if you could provide the output of the command "lsuser <username>" for one or several of the users you created it would help. bakunin |
|
||||
|
Quote:
although ADMINISTRATIVE USER is FALSE and primary group not system Why the user have privileges admin users ??? thanks |
|
||||
|
ok, we are making progress. Still we are not quite there. What exactly did SMITty have to say? "OK"? or something else? What exactly did you fill into the SMIT screens? And finally, give us the excerpt of /etc/passwd and the output of "lsuser" i asked for in my last post.
Quote:
A last question: was is making you believe that any of these users have "admin privileges"? What exactly do you mean by that? bakunin |
|
||||
|
Quote:
SMITTY say "OK" output of "lsuser " : Knbokt id=209 pgrp=nbokt groups=nbokt,apps home=/reports/NBOKT shell=/usr/bin/ksh login=true su=true rlogin=true daemon=true admin=false sugroups=ALL admgroups= tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=22 registry=files SYSTEM=compat logintimes=!saturday-thursday:0930-1230,!saturday-wednesday:1600-1900 loginretries=3 pwdwarntime=0 account_locked=false minage=0 maxage=0 maxexpired=-1 minalpha=0 minother=0 mindiff=0 maxrepeats=0 minlen=0 histexpire=0 histsize=0 pwdchecks= dictionlist= fsize=2097151 cpu=-1 data=262144 stack=65536 core=2097151 rss=65536 nofiles=2000 time_last_unsuccessful_login=1203769000 tty_last_unsuccessful_login=/dev/pts/3 host_last_unsuccessful_login=10.130.15.125 unsuccessful_login_count=11 roles= I mean : the user can change directory from home directory to any directory for example file systems " /opt , / , /usr , ...." thanks |
|
||||
|
Quote:
First off: everything is ok! The user is *supposed* to be able to change the directory to the directories you mentioned. This is *not* an admin privilege but in fact it necessary to make the user account usable at all: if the user would not be allowed to "cd /usr/bin" for instance, the account would not be able to use any of the programs which are stored there. This would be most of the system commands. Hence the user would not be able to use the system in any reasonable way. Anyway, i take from your words that your concern is security, ao i will give you some security tips based on your output of lsuser: Quote:
- install "sudo", which always a good idea anyways. - disallow all users except root to use su by setting "su=" to false (use the "chuser" command for that) - create a sudo-rule which allows su for a certain group of users via sudo means - now it is possible to audit the times someone is issuing "su", because it cannot be issued directly any more but only in the form "sudo su - ...." Quote:
minlen, "minalpha" and "minother" deal with the password composition: minalpha requires a minimum of that many alphanumeric characters in the password, minother does the same with "other" (punctuation marks, etc.) characters. "minlen" is the minimal length of the password. Right now your users could set a blank password and the system would be happy. "maxrepeats" is the number of times a certain character is allowed to repeat in a password. Set it to avoid having passwords like "xxxxxxxx". "histexpire" is the number of passwords to keep in history. A user is not allowed to reuse a password in the history. Right now even if the user changes his password he might change the password to the same value it already had. If you set it to 9 the user has to use at least 10 different passwords befor he can use the first one again. Quote:
chuser -a unsuccessful_login_count=0 <username> but this only as an aside. Another security consideration is: you probably allow telnet/ftp to the system and the users use that (or rlogin, ...) to connect. All these protocols use clear text to transmit the passwords over the networ lines. Install ssh (you can download it from IBMs website, see the pinned links in the forum) and switch off (comment out) telnet and ftp in the file /etc/inetd.conf. I hope this helps. bakunin |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|