亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 3307 | 回復(fù): 0
打印 上一主題 下一主題

[新手入門] aix 5.3 SUDO問(wèn)題,請(qǐng)高手幫忙 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2015-08-28 18:04 |只看該作者 |倒序?yàn)g覽
本人新手,今天登錄一臺(tái)aix 5.3的主機(jī),使用aiuap的用戶想加一個(gè)用戶,用sudo命令時(shí)提示not found,請(qǐng)高手幫忙,謝謝。

<<< Log from 10.220.66.25 started 八月 28, 2015, 17:50:43 >>>
db2:/#>sudo -V                                                                  
Sudo version 1.6.9p15                                                           

Sudoers path: /etc/sudoers                                                      
Authentication methods: 'aixauth'                                               
Syslog facility if syslog is being used for logging: auth                       
Syslog priority to use when user authenticates successfully: notice            
Syslog priority to use when user authenticates unsuccessfully: alert            
Ignore '.' in $PATH                                                            
Send mail if the user is not in sudoers                                         
Use a separate timestamp for each user/tty combo                                
Lecture user the first time they run sudo                                       
Require users to authenticate by default                                       
Root may run sudo                                                               
Allow some information gathering to give useful error messages                  
Visudo will honor the EDITOR environment variable                              
Set the LOGNAME and USER environment variables                                 
Length at which to wrap log file lines (0 for no wrap): 80                     
Authentication timestamp timeout: 5 minutes                                    
Password prompt timeout: 5 minutes                                             
Number of tries to enter a password: 3                                          
Umask to use or 0777 to use user's: 022                                         
Path to mail program: /usr/sbin/sendmail                                       
Flags for mail program: -t                                                      
Address to send mail to: root                                                   
Subject line for mail messages: *** SECURITY information for %h ***            
Incorrect password message: Sorry, try again.                                   
Path to authentication timestamp dir: /var/run/sudo                             
Default password prompt: Password:                                             
Default user to run commands as: root                                          
Path to the editor for use by visudo: /usr/bin/vi                              
When to require a password for 'list' pseudocommand: any                        
When to require a password for 'verify' pseudocommand: all                     
File containing dummy exec functions: /opt/freeware/libexec/sudo_noexec.so      
Reset the environment to a default set of variables                             
Environment variables to check for sanity:                                      
        TERM                                                                    
        LINGUAS                                                                 
        LC_*                                                                    
        LANGUAGE                                                               
        LANG                                                                    
        COLORTERM                                                               
Environment variables to remove:                                                
        RUBYOPT                                                                 
        RUBYLIB                                                                 
        PYTHONINSPECT                                                           
        PYTHONPATH                                                              
        PYTHONHOME                                                              
        TMPPREFIX                                                               
        ZDOTDIR                                                                 
        READNULLCMD                                                            
        NULLCMD                                                                 
        FPATH                                                                  
        PERL5DB                                                                 
        PERL5OPT                                                               
        PERL5LIB                                                               
        PERLLIB                                                                 
        PERLIO_DEBUG                                                            
        JAVA_TOOL_OPTIONS                                                      
        SHELLOPTS                                                               
        GLOBIGNORE                                                              
        PS4                                                                     
        BASH_ENV                                                               
        ENV                                                                     
        TERMCAP                                                                 
        TERMPATH                                                               
        TERMINFO_DIRS                                                           
        TERMINFO                                                               
        LIBPATH                                                                 
        LDR_*                                                                  
        _RLD*                                                                  
        LD_*                                                                    
        PATH_LOCALE                                                            
        NLSPATH                                                                 
        HOSTALIASES                                                            
        RES_OPTIONS                                                            
        LOCALDOMAIN                                                            
        CDPATH                                                                  
        IFS                                                                     
Environment variables to preserve:                                             
        XAUTHORIZATION                                                         
        XAUTHORITY                                                              
        TZ                                                                     
        PS2                                                                     
        PS1                                                                     
        PATH                                                                    
        MAIL                                                                    
        LS_COLORS                                                               
        KRB5CCNAME                                                              
        HOSTNAME                                                               
        HOME                                                                    
        DISPLAY                                                                 
        COLORS                                                                  
Local IP address and netmask pairs:                                             
        10.220.3.14 / 255.255.255.224                                          
        192.168.200.4 / 255.255.255.224                                         
        10.10.10.9 / 255.255.255.0                                             
                                                            
db2:/#>sudo cat /etc/sudoers                                                   
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# Runas alias specification

# User privilege specification
root    ALL=(ALL) ALL
aiuap   db2=NOPASSWD: /usr/bin/mkuser,/usr/sbin/rmuser,/usr/bin/chuser,/usr/bin/passwd,/usr/bin/mkgroup,/usr/sbin/rmgroup,/usr/bin/cat,/usr/sbin/lsuser,/usr/bin/pwdadm
# Uncomment to allow people in group wheel to run all commands
# %wheel        ALL=(ALL) ALL

# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: ALL

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now

您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP