Sponsored Content
Full Discussion: /home locked
Top Forums UNIX for Dummies Questions & Answers /home locked Post 13661 by guest100 on Tuesday 22nd of January 2002 06:52:51 AM
Old 01-22-2002
I see,

Here is a bit more information. I haven't seen this before. I don't understand. I am logged in as root.

# mount
/ on /dev/md/dsk/d0 read/write/setuid/intr/largefiles/logging/onerror=panic/dev=1540000 on Wed Nov 28 16:11:35 2001
/usr on /dev/md/dsk/d4 read/write/setuid/intr/largefiles/logging/onerror=panic/dev=1540004 on Wed Nov 28 16:11:37 2001
/proc on /proc read/write/setuid/dev=3fc0000 on Wed Nov 28 16:11:33 2001
/dev/fd on fd read/write/setuid/dev=4080000 on Wed Nov 28 16:11:38 2001
/etc/mnttab on mnttab read/write/setuid/dev=4180000 on Wed Nov 28 16:11:40 2001
/var on /dev/md/dsk/d2 read/write/setuid/intr/largefiles/logging/onerror=panic/dev=1540002 on Wed Nov 28 16:11:41 2001
/var/run on swap read/write/setuid/dev=1 on Wed Nov 28 16:11:41 2001
/tmp on swap read/write/setuid/dev=2 on Wed Nov 28 16:11:45 2001
/opt on /dev/md/dsk/d3 read/write/setuid/intr/largefiles/logging/onerror=panic/dev=1540003 on Wed Nov 28 16:11:45 2001
/export/home on /dev/md/dsk/d5 read/write/setuid/intr/largefiles/logging/onerror=panic/dev=1540005 on Wed Nov 28 16:11:46 2001
# pwd
/
# ls -la |grep home
dr-xr-xr-x 1 root root 1 Nov 28 16:11 home
# mkdir /home/test
mkdir: Failed to make directory "/home/test"; Operation not applicable

Can anyone help please?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

OpenWin Locked up

I have a server that is on solaris 9 and openwin is locked. The mouse won't respond and I can't seem to kill the openwin pid on the server.. Is there a command line to kill openwin from the server side? (2 Replies)
Discussion started by: jphorton
2 Replies

2. HP-UX

locked out!

:confused: I have an K580 HP server. All I did was change the IP address on the NIC and now I can't telnet into it. I can ping, but no telnet. Also, it won't boot if the console monitor is plugged in. ANY IDEAS??? (1 Reply)
Discussion started by: ncmurf00
1 Replies

3. Solaris

need script for locked and unused user accounts in /export/home directory

Hi all, i have to need one script: 1. it will capture the unused user accounts in /export/home directory. 2. it will capture the locked user accounts in /export/home directory. Note: locked accounts will show in /etc/passwd like /bin/false --> (instead of ksh it will show false) the... (1 Reply)
Discussion started by: krishna176
1 Replies

4. AIX

account is always locked out

we have a user name "Test1" that account is alwyas locked out. The user has been used to many servers to ftp a file from the main server. i already increase the MaxStartups to 99. And still after how many days account will locked. (3 Replies)
Discussion started by: invinzin21
3 Replies

5. Programming

Port is locked

Hi, I am working with sun solaris sparc 5.9 and I want to use the serial port in my application..when I am trying to use it.it is throwing the message-- So how can I check the serial port is locked or not and how can I unlock the port?? Thanks in advance. (1 Reply)
Discussion started by: smartgupta
1 Replies

6. Programming

how to simulate "mkdir -p /home/blah1/blah2/blah3" in "c" where only /home exist

I'm trying to make use of mkdir(char *pathname, S_IRWXU) to create the directories. but it only creates one directory at a time. so I have to separate the tokens for "/home/blah1/blah2/blah3" as "home blah1 blah2 blah3" using delimiter "/", but it is again hectic to create such directory... (8 Replies)
Discussion started by: platinumedge
8 Replies

7. Solaris

how to change /export/home/user dir to /home /user in solaris

Hi all i am using solaris 10, i am creating user with useradd -d/home/user -m -s /bin/sh user user is created with in the following path /export/home/user (auto mount) i need the user to be created like this (/home as default home directory ) useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies

8. UNIX for Advanced & Expert Users

Who locked my id?

I am running Solaris 10. Occasionally, my id gets loked. I want to know who/which rougue process locked it. How do I find out? Thanks, KNK (9 Replies)
Discussion started by: nkamatam
9 Replies

9. UNIX for Dummies Questions & Answers

I have files that are locked up...

Here's the story: I had an LaCie Internet Space (1TB)... Recently the network (or software) functions of the device just died... I tried to access it via different routers, checking UTP, tried everything possible to rule out physical damage to components. Then i got the disk out of its... (2 Replies)
Discussion started by: SentinelX
2 Replies

10. Shell Programming and Scripting

cp -p /home/* home/exp/*.date not working please help

:( ---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ---------- Not working ---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ---------- cp -p /home/* home/exp/*.`date` i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies
CHOWN(3)								 1								  CHOWN(3)

chown - Changes file owner

SYNOPSIS
bool chown (string $filename, mixed $user) DESCRIPTION
Attempts to change the owner of the file $filename to user $user. Only the superuser may change the owner of a file. PARAMETERS
o $filename - Path to the file. o $user - A user name or number. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Simple chown(3) usage <?php // File name and username to use $file_name= "foo.php"; $path = "/home/sites/php.net/public_html/sandbox/" . $file_name ; $user_name = "root"; // Set the user chown($path, $user_name); // Check the result $stat = stat($path); print_r(posix_getpwuid($stat['uid'])); ?> The above example will output something similar to: Array ( [name] => root [passwd] => x [uid] => 0 [gid] => 0 [gecos] => root [dir] => /root [shell] => /bin/bash ) NOTES
Note This function will not work on remote files as the file to be examined must be accessible via the server's filesystem. Note When safe mode is enabled, PHP checks whether the files or directories being operated upon have the same UID (owner) as the script that is being executed. SEE ALSO
chmod(3), chgrp(3). PHP Documentation Group CHOWN(3)
All times are GMT -4. The time now is 02:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy