- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user block and i erase him, don't allow creat ...
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
Forums
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
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
03-04-2005 04:19 AM
03-04-2005 04:19 AM
user block and i erase him, don't allow creat him after
Also I have tried to create them with the command useradd, but it says me 'Cannot add the entry' and looking at the value that returns the order I see that it is the code 16. This code is that cannot write in etc/passwd.
¿have you know occurrs this and how do it work good?
Today we have change date backwards some times. Can this influence something?
i'sorry by my english
thank'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 04:24 AM
03-04-2005 04:24 AM
Re: user block and i erase him, don't allow creat him after
1) root fs / may be full
2) There may be a problem in the passwd files
pwck
grpck
Will check the consistency of these files.
bdf will give you a read on root fs space.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 04:33 AM
03-04-2005 04:33 AM
Re: user block and i erase him, don't allow creat him after
the command pwck and grpck
/-> pwck
smbnull:*:101:101:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh
Login directory not found
webadmin:*:40:1::/usr/obam/server/nologindir:/usr/bin/false
Login directory not found
marc:*:103:108:,,,:/home/marc:/usr/bin/sh
Login directory not found
tftp:*:510:1:Trivial FTP user:/usr/tftpdir:false
Optional shell file not found
/-> grpck
/->
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 05:04 AM
03-04-2005 05:04 AM
Re: user block and i erase him, don't allow creat him after
First see why they're deactivated
/usr/lbin/getprpw -m lockout user_name
Then how are you trying to re-activate them?
Normally it would be:
/usr/lbin/modprpw -k user_name
But if the user's PW is missing or "*" then you'd need to set a PW for the user, inform them of it & force them to change it at the next login
passwd user_name
/usr/lbin/modprpw -e user_name
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 05:15 AM
03-04-2005 05:15 AM
Re: user block and i erase him, don't allow creat him after
all command's
/usr/lbin/getprpw -m aromero
return
user password file not found: aromero
or
/home/banon/listados-> /usr/lbin/modprpw -e aromero
user password file not found: aromero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 05:20 AM
03-04-2005 05:20 AM
Re: user block and i erase him, don't allow creat him after
i have forgotten say you that the passwd command return me this . It is very important
/home/banon/listados-> passwd aromero
Password cannot be changed. Reason: Cannot access protected password entry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 12:34 PM
03-04-2005 12:34 PM
Re: user block and i erase him, don't allow creat him after
/tcb/files/auth
and there will be a set of 1-character directories, one for each letter of the alphabet. For each user in the /etc/passwd file, there will be an entry underneath the directory that starts their user name, for instance, root will be in the r directory.
If the files are there, then perhaps the permissions and ownerships have been damaged. The directories should be:
555 /tcb
775 /files
775 /auth
770 all the 1-character directories
(all above owned by root/sys)
664 all the files in 1-character directories
(all owned by root/root)
and make sure that / is correct:
755 / owned by root/sys
Also check /etc/fstab and look for nosuid on any of the mountpoints. It should never be used on /opt, /usr or /. Only /home, /var and /var/tmp should have the nosuid option.
The problem you are seeing is not due to changing the date.
Bill Hassell, sysadmin