- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- no login 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
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
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
тАО08-31-2009 04:59 AM
тАО08-31-2009 04:59 AM
I have HP-ux 11.11 trusted system. In which i want to create a noloin user
please suggest.........
Im already tried with
/sbin/true and /sbin/false
these option restricted but im unable to discover it with ITM tools.....
provide ur valuable suggestion on it.......
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2009 05:11 AM
тАО08-31-2009 05:11 AM
Re: no login user.............
Can you provide why such user you want to create?? and what access you want to provide these users?
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2009 05:13 AM
тАО08-31-2009 05:13 AM
Re: no login user.............
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2009 05:21 AM
тАО08-31-2009 05:21 AM
Re: no login user.............
This user need to discoverig the server in ITM (IBM Tivoli management like hp-ovo) database. there some admin level commands which needs to be excuted by it.
Regards
Viney
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2009 05:44 AM
тАО08-31-2009 05:44 AM
SolutionWe employ a similar measure to keep people from logging into service accounts, like oracle, weblogic etc., directly with a code segment like below, placed in /etc/profile.
#
# Deny application accounts direct login
#
if [[ "`/usr/bin/tty`" != "/dev/vty0" ]]
then
if /usr/bin/grep -q "^${LOGNAME}$" /etc/restricted.login
then
ls -al $(/usr/bin/tty) | /usr/bin/awk '{print $3}' | read OWNER
if [[ "${LOGNAME}" = "${OWNER}" ]]
then
echo "\n******************************************************"
echo " Direct login as '$LOGNAME' is NOT AUTHORIZED"
echo "******************************************************\n"
sleep 3
kill -9 $$
fi
fi
fi
If the username is in/etc/restricted.login, it will not be allowed to login interactively, but it still can fire one-off commands from a remote session via ssh (ssh is our requirement, yours can be any remote protocol)
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2009 05:49 AM
тАО08-31-2009 05:49 AM
Re: no login user.............
If you dont want this user to login in to system then edit his .profile and give exit there in the last column of .profile and save it.
Regards
Sunny