- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- user and groups not displayed!!!!
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
05-02-2001 02:38 PM
05-02-2001 02:38 PM
user and groups not displayed!!!!
$ ll
total 618
drwxrwxrwx 2 0 sys 96 Apr 19 12:33 CDROM
lrwxr-xr-t 1 0 sys 8 Jul 14 2000 bin -> /usr/bin
drwxrwxrwx 2 0 sys 96 Apr 19 12:57 carbon
drwxrwxrwx 2 0 sys 96 Jul 14 2000 cdrom
dr-xr-xr-x 12 2 bin 4096 Mar 7 18:04 dev
dr-xr-xr-x 25 2 bin 6144 May 2 10:48 etc
drwxr-xr-x 24 121 users 1024 Apr 30 17:11 home
lrwxr-xr-t 1 0 sys 8 Jul 14 2000 lib -> /usr/lib
drwxr-xr-x 2 0 root 96 Jun 21 2000 lost+found
drwxrwxrwx 3 0 sys 96 Mar 22 12:04 ndm
dr-xr-xr-x 2 0 root 96 Jun 21 2000 net
drwxrwxrwt 6 0 root 4096 Oct 5 2000 netapp3
dr-xr-xr-x 33 2 bin 1024 May 2 11:41 opt
drwxr-xr-x 7 0 root 1024 Mar 22 12:12 opt1
dr-xr-xr-x 12 2 bin 3072 Jul 14 2000 sbin
dr-xr-xr-x 6 2 bin 1024 Oct 4 2000 stand
drwxrwxrwx 11 2 bin 8192 May 2 18:02 tmp
dr-xr-xr-x 2 0 root 96 Jun 21 2000 tmp_mnt
dr-xr-xr-x 25 2 bin 1024 Mar 22 12:04 usr
dr-xr-xr-x 20 2 bin 1024 Aug 15 2000 var
drwxrwxr-x 6 0 web 1024 Aug 15 2000 webstore
-rw-rw-rw- 1 0 sys 286720 Jul 17 2000 webstore.tar
Can anybody tell me the reason and solution for this???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 02:59 PM
05-02-2001 02:59 PM
Re: user and groups not displayed!!!!
If this is an NIS client, see if ypcat passwd
works.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 03:03 PM
05-02-2001 03:03 PM
Re: user and groups not displayed!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 03:53 PM
05-02-2001 03:53 PM
Re: user and groups not displayed!!!!
sidorg@copper ~ : ls -al
total 18
drwxrwxrwx 6 121 users 1024 May 2 15:43 .
drwxr-xr-x 24 121 users 1024 Apr 30 17:11 ..
-rw-rw-rw- 1 121 users 2880 Apr 27 09:46 .cshrc
-rw-rw-rw- 1 121 users 358 Apr 17 15:43 .login
-rw-rw-rw- 1 121 users 763 Apr 17 15:43 .profile
-rw-rw-rw- 1 121 users 94 Apr 27 09:27 .rhosts
-rw------- 1 121 users 38 May 2 15:33 .sh_history
drwxr-xr-x 2 121 users 96 Apr 17 15:54 .ssh
drwxrwxrwx 2 121 users 96 Apr 17 15:57 BOX
drwxrwxrwx 2 121 users 96 Apr 17 16:00 bin
drwxrwxrwx 6 121 users 96 May 2 15:43 tmp
Hope this helps!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 04:18 PM
05-02-2001 04:18 PM
Re: user and groups not displayed!!!!
Do an ls -l on /etc/passwd and check the permissions for group and other
or
Do the same ls -l as root; it the user mapping works it has to be the /etc/passwd permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 04:20 PM
05-02-2001 04:20 PM
Re: user and groups not displayed!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 04:59 PM
05-02-2001 04:59 PM
Re: user and groups not displayed!!!!
On obvious (?) possibility is that user #121 (uid) has simply been deleted from /etc/passwd but his/her files left on the system. In this case, there is no way to translate uid to name.
Another possiblity is that someone miskeyed and 'chowned' the files and directories (recursively ?) to uid 121...although the times I've done this it's usually to something like "555" when I meant to 'chmod'...
...JRF...
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 05:04 PM
05-02-2001 05:04 PM
Re: user and groups not displayed!!!!
I have the output for ls -l /etc/passwd as both root and a user
#ls -l /etc/passwd
-r--r--r-- 1 0 sys 2181 May 2 10:48 /etc/passwd
$ ls -l /etc/passwd
-r--r--r-- 1 0 sys 2181 May 2 10:48 /etc/passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 08:10 PM
05-02-2001 08:10 PM
Re: user and groups not displayed!!!!
Try the pwck command to check the integrity of /etc/passwd; it's safe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 01:14 AM
05-03-2001 01:14 AM
Re: user and groups not displayed!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 02:39 AM
05-03-2001 02:39 AM
Re: user and groups not displayed!!!!
chmod 777 /etc/passwd ? that opens the door to everybody; anyone will be able to remove the password from anyone, including root.
I certainly do agree that /etc/passwd must be readable by anyone.
regards,
Thierry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2001 01:31 PM
05-04-2001 01:31 PM
Re: user and groups not displayed!!!!
Here is the solution to the problem. Kill pwgrd daemon and do a restart - /usr/sbin/pwgrd. Iam not sure the exact location of this...
The reason for is (according to HP) when the /var filesystem is full, it corrupts certain files..
For more details do man pwgrd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2001 01:38 PM
05-04-2001 01:38 PM
Re: user and groups not displayed!!!!
Just goes to prove, first thing do a bdf.
Clay