Sponsored Content
Full Discussion: /home locked
Top Forums UNIX for Dummies Questions & Answers /home locked Post 13659 by guest100 on Tuesday 22nd of January 2002 06:16:09 AM
Old 01-22-2002
/home locked

Hi all,

Does anyone knows why can't I change the /home dir in to writeable?

here is what I get ?

dr-xr-xr-x 1 root root 1 Jan 22 10:09 xfn
dr-xr-xr-x 1 root root 1 Nov 28 16:11 home
dr-xr-xr-x 1 root root 1 Nov 28 16:11 net
dr-xr-xr-x 6 root root 512 Nov 28 16:12 vol
dr-xr-xr-x 125 root root 480032 Jan 22 11:08 proc
drwx------ 2 root other 512 Nov 15 12:38 Mail
drwx------ 2 root other 512 Sep 13 14:20 nsmail
drwx------ 2 root root 8192 Sep 13 12:12 lost+found
drwxr-xr-x 2 root other 512 Nov 23 10:17 ANP
drwxr-xr-x 2 root root 512 Sep 26 11:30 TT_DB
drwxr-xr-x 2 root sys 512 Sep 13 12:16 mnt
drwxr-xr-x 2 root sys 1024 Sep 13 12:19 sbin
drwxr-xr-x 3 root nobody 512 Dec 14 12:22 cdrom
drwxr-xr-x 3 root sys 512 Sep 13 12:15 export
drwxr-xr-x 4 root sys 512 Sep 13 12:32 devices
drwxr-xr-x 5 root other 512 Jan 22 10:25 MagellanNMS
drwxr-xr-x 9 root sys 512 Sep 13 13:15 kernel
drwxr-xr-x 14 root sys 4608 Sep 26 11:29 dev
drwxr-xr-x 29 root sys 1536 Sep 13 12:32 platform
drwxr-xr-x 32 root sys 512 Sep 13 12:59 var
drwxr-xr-x 36 root sys 1024 Sep 21 10:41 usr
drwxr-xr-x 41 root sys 3584 Jan 22 11:03 etc
drwxrwxr-x 23 root other 512 Jan 11 10:07 opt
drwxrwxrwt 9 root sys 1828 Jan 22 11:05 tmp
lrwxrwxrwx 1 root root 9 Sep 13 12:16 bin -> ./usr/bin
lrwxrwxrwx 1 root root 9 Sep 13 12:16 lib -> ./usr/lib
total 1063
# chmod 644 /home
chmod: WARNING: can't change /home
# w
11:08am up 54 day(s), 18:58, 2 users, load average: 0.14, 0.11, 0.10
User tty login@ idle JCPU PCPU what
root pts/3 11:08am w
root dtremote 10:24am 44 6 2 /sbin/sh
root pts/1 10:55am 3 /sbin/sh


Thanks
 

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
ST_SNAPSHOT(1)							      systraq							    ST_SNAPSHOT(1)

NAME
st_snapshot - calculate checksum and stat ownership and permissions of files SYNOPSIS
ST_SUM=sha256sum st_snapshot patterns homepatterns DESCRIPTION
st_snapshot calculates checksums and stats ownership and permissions of critical system files. This script is typically run in either root-mode or public-mode. Running this script in root-mode requires root priviliges. One is adviced to set up a dedicated user account for running this script in public mode. In root-mode, the files snapshot_root.list and snapshot_root.homelist are typically passed as arguments. These pattern files are read by the script and contain names of files and directories; listing a directory in such a pattern file is equivalent to listing all files which live in the directorytree with this directory as root. snapshot_root.list could e.g. read # snapshot_root.list - files and directories we wanna get # monitored: we wanna get a note once these files, or any file # under these directories, gets created, gets rm-ed, gets # permissions or contents changed. these notices will not # include the possibly secret contents of these files # # this file gets read by st_systraq /etc/group /etc/gshadow /etc/hosts.allow /etc/hosts.deny /etc/hosts.equiv /etc/lilo.conf /etc/passwd /etc/postfix/server.pem /etc/shadow /etc/skel /etc/ssh Equivalent files snapshot_pub.list and snapshot_pub.homelist should be on the system. These files should contain all worldreadable to be monitored files. This allows for running this script as root only in those cases where it's needed: when reading files, readable for root only. The homelist files contain files and directories which should get monitored for every homedirectory on the system. snapshot_pub.homelist could e.g. contain: .profile .cshrc .tcshrc .login .logout .bash_profile .bashrc .exrc .nexrc As a special case, when the environment variable ST_OPHOMES is set to a non-empty string (typically when running in public mode), we stat the permissions on all homedirectories themselves. The produced snapshot is printed to stdout. The output when running in public mode could look like: # ownership and permissions of homedirs drwxr-xr-x root root /bin drwxr-xr-x root root /dev drwxr-sr-x root staff /home drwxr-sr-x joostvb joostvb /home/joostvb drwxr-xr-x root root /usr/sbin drwxr-xr-x root root /var # sha256sum of critical pub files 4d3cd13d6dbc10e2e3ccb9477cbc9eb9b76302454c276d5771ae0b10a5fbb4d2 /home/joostvb/.ssh/id_rsa.pub eb8d83e0246f761a21bdfb13a03fac634ed7c3b7dde4c2efddd7b2838d32596f /var/qmail/alias/.bashrc 4e371f9a11f5a2464d3d5c952e58e24f73b377d33767ed93b2082fcb59a647fe /etc/zlogin # ownership and permissions of critical pub files -rw-rw-r-- joostvb joostvb /home/joostvb/.ssh/id_rsa.pub -rw-r--r-- joostvb joostvb /home/joostvb/.ssh/authorized_keys ENVIRONMENT
ST_OPHOMES - non-empty in case permissions on all homedirectories should be printed ST_SUM - command for calculating file checksums. E.g. sha256sum, sha512sum, sha384sum, sha224sum or sha1sum. SEE ALSO
The systraq manual. VERSION
This manpage: $Id: st_snapshot.pod 374 2008-12-14 08:47:32Z joostvb $ COPYRIGHT
Copyright (C) 2001, 2002, 2003, 2004, 2008 Joost van Baal This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. AUTHOR
Joost van Baal <joostvb-systraq-20041015@mdcc.cx> 20081217 2008-12-15 ST_SNAPSHOT(1)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy