SLES10 is showing the machine name intead of the owner's username


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users SLES10 is showing the machine name intead of the owner's username
# 1  
Old 03-10-2010
SLES10 is showing the machine name intead of the owner's username

Hi,

I'm the administrator of a server with SLES10 and when I type "ls -l" I'm getting a machine name where I should be getting the username, for example:

Code:
server:~# ls -l
drwxrwx---+ 3 user-1152$    group1 4096 2009-11-25 12:56 folder
drwxrwx---+ 3 user-1113$    group2 4096 2010-03-10 15:34 file

Code:
server:~# id user-1152$
uid=1910(user-1152$) gid=100(users) groups=100(users),16(dialout),33(video)

But the UID 1910 belongs to the user user-121 for example!

Any ideas on how to solve this?

Thanks!

Last edited by Yogesh Sawant; 03-11-2010 at 05:41 AM.. Reason: added code tags
# 2  
Old 03-12-2010
No ideas?
# 3  
Old 03-12-2010
I think that the plus sign "+" at the end of the directory permissions shows that Access Control List (ACL) controls this directory and the the permissions are an ACL name. Time to read up on ACLs ?
# 4  
Old 03-12-2010
OK, but I'm not talking about the permissions...
I'm talking about the usernames, that are show with an "$" after the name, and some people tell me that it's a machine name..
Time to read the post ? Smilie

---------- Post updated at 05:18 PM ---------- Previous update was at 11:20 AM ----------

It's solved!

I checked the /etc/passwd file, and there was a lot of machine users there.
I use LDAP to manager the users, and to solve this I deleted all the machine users in the /etc/passwd

Hope it helps somebody else!
# 5  
Old 03-12-2010
I deduce that these clients were running Microsoft Operating Systems (i.e. not unix) and they needed to be enrolled in /etc/passwd for authentication purposes against an ACL.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Why does "ps -[u|U] username" not list processes when username is numeric?

Greetings, The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry: 320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies

2. Red Hat

USB HDD not showing valid partition on one Solaris machine

Hi All, We have got a USB HDD with important data in it. The data has been copied to the disk(formatted ext3) via a LINUX system. The data was supposed to be copied to a second LINUX machine. Surprisingly, it doesn't show up any valid partitions in the new box. dmesg: usb1-3:... (2 Replies)
Discussion started by: Bikash Mishra
2 Replies

3. Solaris

Privileges : modify dir/file owner by other that's not owner

i need to do the following operations in solaris 10: 1.change owner and group owner for files which are not owned by the current user and user group 2.to can delete files in the /tmp directory which are not of the current user 3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies

4. UNIX for Advanced & Expert Users

start virtual machine in Virtualbox giving username and password.

i have found a way to start vm with commanda as follows - VBoxManage startvm <uuid>|<name> it is installed inside oracle virtualbox. in vmware we have a way to do this -- $vmware-cmd -v -H localhost -U user -P password /var/lib/vmware-server/Virtual\ Machines/Ubuntu/Ubuntu.vmx... (0 Replies)
Discussion started by: upvan111
0 Replies

5. Shell Programming and Scripting

How to change strt-up sequence of services on SLES10/11

Hi, Can anyone tell me what the following 2 lines are doing base=${0##*/} link=${base#*} I found this in a start up service script and I think it is giving the service link names which in turn will change the start up sequence of services. (3 Replies)
Discussion started by: senrooy
3 Replies

6. Shell Programming and Scripting

How to change strt-up sequence of services on SLES10/11

Hi All, I want to change the start-up sequence of services on SLES10/11. I have my own start-up scripts for some services and I want them to start in a particular order(not in alphabetical order) Can anyone help me on this issue? (4 Replies)
Discussion started by: senrooy
4 Replies

7. UNIX for Advanced & Expert Users

How UNIX admin set up this? how files of 744 of other owner can be removed by another owner?

Hi all, We have some files are under 744 permissions and the the owner is say owner1 and group1. Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that. ... (14 Replies)
Discussion started by: TheGunMan
14 Replies

8. Shell Programming and Scripting

How to Determine the file owner's username

I've read the following post here and I get no output from the command. I've tried changing the '$3' to $5, 7, 10...and still nothing. Ultimately what I'd like to is determine who owns the file and rename it to file_name_$USERNAME. $ uname -a SunOS sun001 5.10 Generic_118833-33 sun4u sparc... (3 Replies)
Discussion started by: nadeemsm
3 Replies

9. SuSE

SLES10 - cronjob issue?

I installed some software (zenworks linux management) and it apparently set up a cronjob for a postgresql database command. The job runs every 4 hours and fails everytime sending root mail... the problem I have is I cant find this job anywhere. ive looked in all the usual cronjob places but... (1 Reply)
Discussion started by: trey85stang
1 Replies

10. Solaris

Owner of file gets 'not owner' error for chgrp

Hi Folks, I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error. For example, when I am logged in as 'webadmin', I have the following file: ... (4 Replies)
Discussion started by: brizrobbo
4 Replies
Login or Register to Ask a Question