- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to do su - for a application user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 02:19 PM
12-13-2011 02:19 PM
Hi,
It is regarding one application user who is unable to do the su - app_oaps
root@stowe /usr/lbin# /usr/lbin/getprpw app_oaps
uid=35059, bootpw=NO, audid=127, audflg=1, mintm=0, maxpwln=-1, exptm=0, lftm=0, spwchg=Tue Nov 29 21:59:16 2011, upwchg=Thu Aug 19 14:19:40 2010, acctexp=-1, llog=-1, expwarn=0, usrpick=DFT, syspnpw=DFT, rstrpw=DFT, nullpw=DFT, admnum=-1, syschpw=DFT, sysltpw=DFT, timeod=-1, slogint=Tue Dec 13 17:12:59 2011, ulogint=Tue Dec 13 15:59:35 2011, sloginy=pts/te, culogin=-1, uloginy=pts/te, umaxlntr=-1, alock=NO, lockout=0000000
I have reset the passwd also but still unable to do su - app_oaps.
root@stowe /usr/lbin# 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
# 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
### START CentrifyDC group policy generated machine settings START ###
### ### Do not edit directly, this block might be gone anytime ### ###
#Default Settings
Defaults lecture=always, tty_tickets, !insults, env_reset, always_set_home, timestamp_timeout=0, lecture_file=/etc/sudo_lecture
# User alias specification for root access
User_Alias LOCALROOTUSERS=%se,%setemp,%sezone
# User privilege specification
LOCALROOTUSERS ALL=(ALL) /bin/su -
### END CentrifyDC group policy generated machine settings END ###
root@stowe /usr/lbin#
What could be the possible issue?
Solved! Go to Solution.
- Tags:
- sudo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 02:30 PM
12-13-2011 02:30 PM
Re: Unable to do su - for a application user
So what happens when you try to do the 'su - app_oaps'? Do you get an error?
You posted the sudoers file as well. Are you expecting sudo to be magically invoked? If you want to use sudo you need to do:
# sudo su - app_oaps
You then need the specify YOUR password (NOT the app_oaps password).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2011 03:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2011 04:03 AM
12-14-2011 04:03 AM