1. User was not able to submit cron jobs in AIX.
a. I have resolved this issue as below.
b. /var/adm/cron/cron.allow -- to allow user to enable cron job submission.
c. /var/adm/cron/cron.deny -- to disallow user to cron job submission.
d. If you want to enable job submission for user add his user name in cron.allow , to disallow user to cron job submission add his name in cron.deny file. Root can do it.
e. Both files were ok then what was the issue?
f. User was not able to add cron entries as it’s “deamon” attribute was set to false.
g. I have changed it to TRUE.
h. And User was happy and appreciated me for this.
dtem:@:/var/adm/cron: lsuser oracle
oracle id=219 pgrp=dba groups=dba,oracle,vectus,release,released,2release,btchs5 home=/usr/local/oracle shell=/usr/bin/ksh gecos=dtem Oracle user login=true su=true rlogin=true daemon=false admin=false sugroups=ALL admgroups= tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=27 registry=files SYSTEM=compat logintimes= loginretries=5 pwdwarntime=7 account_locked=false minage=0 maxage=4 maxexpired=-1 minalpha=2 minother=2 mindiff=2 maxrepeats=4 minlen=8 histexpire=52 histsize=12 pwdchecks= dictionlist= fsize=-1 cpu=-1 data=262144 stack=65536 core=2097151 rss=131072 nofiles=2000 time_last_login=1249279890 time_last_unsuccessful_login=1269238723 tty_last_login=/dev/pts/2 tty_last_unsuccessful_login=ftp host_last_login=35.101.8.66 host_last_unsuccessful_login=::ffff:35.248.120.16 unsuccessful_login_count=10 roles=
Changed it to true but how ?
dtem:@:/var/adm/cron: lsuser oracle
oracle id=219 pgrp=dba groups=dba,oracle,vectus,release,released,2release,btchs5 home=/usr/local/oracle shell=/usr/bin/ksh gecos=dtem Oracle user login=true su=true rlogin=true daemon=true admin=false sugroups=ALL admgroups= tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=27 registry=files SYSTEM=compat logintimes= loginretries=5 pwdwarntime=7 account_locked=false minage=0 maxage=4 maxexpired=-1 minalpha=2 minother=2 mindiff=2 maxrepeats=4 minlen=8 histexpire=52 histsize=12 pwdchecks= dictionlist= fsize=-1 cpu=-1 data=262144 stack=65536 core=2097151 rss=131072 nofiles=2000 time_last_login=1249279890 time_last_unsuccessful_login=1269238723 tty_last_login=/dev/pts/2 tty_last_unsuccessful_login=ftp host_last_login=35.101.8.66 host_last_unsuccessful_login=::ffff:35.248.120.16 unsuccessful_login_count=10 roles=
No comments:
Post a Comment