07-27-2012
Curious. ls -l /home/user1, who owns it?
This can happen when users on two systems, one nfs-mounting a partition on the other, disagree on what users are what ID's. Files with userid's that don't exist can be created. Nothing wrong with that in a sense, since nothing explodes, but the owner will only show up as numbers.
It can also happen when a userid's deleted but their files remain. Or a restore-from-backup where you restore files for users which haven't been created yet. And other such situations where files created by users that no longer exist are created anyway.
If /home/user1 is owned by some known userid that's not user1, then I'm not sure what's going on.
This User Gave Thanks to Corona688 For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know this is prob a simple question but anyway here goes. I want to find out the owner of a certain file. I also want to find out what permissions that owner has. Is their any command that is similair to file in that it can tell men this specfic information about a file the way file tells you... (1 Reply)
Discussion started by: Quesa
1 Replies
2. Shell Programming and Scripting
Hello,
My issue is that I want to look for specific users that have their first and last initial followed by four numbers. For example:
ab1234
I've already got the user ID's out of the passwd file
more passwd | awk -F ":" '{print $1}' > userids
I just need to know how to just pick... (8 Replies)
Discussion started by: LinuxRacr
8 Replies
3. UNIX for Dummies Questions & Answers
Hi,
/etc/passwd file has write permission only for the root user.
Now when a normal user changes the its own password using passwd command, how this information has been written to the /etc/passwd file when the user is not having write permission to this file.
~santosh (2 Replies)
Discussion started by: santosh149
2 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am not one of the super users / root for AIX 5.3 system.
There is a filesystem
Say
/DIR1 and its has several subdirs in it say SUBDIR1, SUBDIR2, SUBDIR3.
Can I create a tar file for all files under DIR1 and SUBDIR1, SUBDIR3. Excluding SIBDIR2?
Also how can I preserve... (2 Replies)
Discussion started by: Hangman2
2 Replies
5. UNIX for Advanced & Expert Users
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies
6. Shell Programming and Scripting
Hi I need help..........
I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test.
I'm way out of my league as I have not done any scripting for 10 years.
There are four entries for each user in the file... (3 Replies)
Discussion started by: Macdaddy99
3 Replies
7. Shell Programming and Scripting
/etc/group
tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
uucp::5:root
/etc/passwd
mk789:x:234:1::/export/home/dummy:/bin/sh
po312:x:234:1::/export/home/dummy:/bin/sh
ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies
8. Shell Programming and Scripting
Hi,
I've a user alias file in the below format.. I need to change all the ID's that come after the = sign (with some multiple ID's which are separated by comma's) to their respective users that are contained in the passwords file.. Whats the best way to go about this.. Some sort of sed command in... (2 Replies)
Discussion started by: Jazmania
2 Replies
9. UNIX for Advanced & Expert Users
Hi all ,
The FTP user defind in my passwd file has ! in the hash password field and i want to know way is that its usually either
MD5(Unix) hash or * can anyone explain to me i'm new for unix and want to learn
this how my passwd file looks :
... (2 Replies)
Discussion started by: dahash11
2 Replies
LEARN ABOUT SUSE
make_sha1
MAKE_SHA1(8) System Manager's Manual MAKE_SHA1(8)
*
NAME
make_sha1 - Generate SHA1 checksums for given set of users.
SYNOPSIS
make_sha1 [ -C config-file ] [ -D md5_dir ] [ -k count ] [ -f input_file ] [ -m offset ] [ -M modulo ] [ -v ] [ userid... ]
DESCRIPTION
Generate SHA1 checksums for messages given set of users. Works as incremental update: reads in existing set of SHA1 checksums from
sha1_dir/u/userid (hashed on first letter of userid) if that file exists. Scans account looking for new messages, and then updates record.
The SHA1 checksums which are generated are used to test integrity of the master, replica and backup systems on Hermes.
OPTIONS
-C config-file
Read configuration options from config-file.
-D sha1_dir
Read and write SHA1 checksums from sha1_dir, overrides configuration file setting of the same name.
-k count
Concurrency level: run up to count asynchronous child processes.
-f input_file
List of accounts to process: use in place of command line arguments.
-m offset
Regenerate given fraction of the user database in combination with -M below.
-M modulo
Regenerate SHA1 checksums for given fraction of user database. Allows for rolling consisency checks.
-v Verbose mode.
FILES
/etc/imapd.conf
AUTHORS
David Carter (dpc22@cam.ac.uk)
CMU
Project Cyrus MAKE_SHA1(8)