when I enter in the /home/ directory and try to create a new directory appear the following error
Quote:
# cd /home
# ls -l
total 0
# ls -al
total 3
dr-xr-xr-x 1 root root 1 Sep 7 15:16 .
drwxr-x--x 33 root root 1024 Sep 7 15:39 ..
# mkdir oso
mkdir: Failed to make directory "oso"; Operation not applicable
#
You're running automounter. There is a /home entry in /etc/auto_master. Turn off the automounter or at least remove the entry: "/home" from /etc/auto_master
This User Gave Thanks to jim mcnamara For This Post:
You're running automounter. There is a /home entry in /etc/auto_master. Turn off the automounter or at least remove the entry: "/home" from /etc/auto_master
Dear jim mcnamara
When I see the auto_master I observe the following:
---------- Post updated at 04:40 PM ---------- Previous update was at 04:20 PM ----------
I have a problem when I'll try to enter in my server
Let me explain.
When I try to login to this Equipment (Application Server - 192.168.1.6)
Quote:
c:\> telnet 192.168.1.6
SunOS 5.8
login: andres (The same problem, if a put andres)
Password: (guillen) (The same problem, if a put guillen) No directory! Logging in with home=/ Last login: Mon Sep 5 16:50:29 from 192.168.99.8
Sun Microsystems Inc. SunOS 5.8 Generic Patch February 2004
You have new mail.
ApplicServer
When I review the passwd (/etc/passwd) file I observe that these two account (andres and guillen)
exist:
ApplicServer # cat /etc/passwd
root:x:0:1:Super-User:/:/sbin/sh
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:
lp:x:71:8:Line Printer Admin:/usr/spool/lp:
uucp:x:5:5:uucp Admin:/usr/lib/uucp:
nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
listen:x:37:4:Network Admin:/usr/net/nls:
nobody:x:60001:60001:Nobody:/:
noaccess:x:60002:60002:No Access User:/:
nobody4:x:65534:65534:SunOS 4.x Nobody:/:
andres:x:2001:2000::/home/andres:/bin/csh
guillen:x:2002:2000::/home/guillen:/bin/csh
nap:x:1001:1:usuario del NAP:/import/home/nap:/bin/sh
it:x:1002:10::/it:/bin/sh
anaer:x:100:102:ejecucion de script anaer:/home/anaer:/bin/sh
ApplicServer#
In base of the results of catīs command, I observe that when I use "andres" (the same problem appear if a use guillen) account the system try to find the following path:
Quote:
/home/andres,
These is the home path directory in the passwd file. But this path or directory is not exit.
Let me show:
Quote:
ApplicServer # ls -al /home/
total 3
dr-xr-xr-x 1 root root 1 Sep 5 16:50 .
drwxr-x--x 33 root root 1024 May 7 2010 ..
ApplicServer #
This is the reason why appear the following message No directory! Logging in with home=/
In other application Server (which have the same userīs account) I observe the following:
In Solaris local home directories are stored under /export/home. You should modify your user account to reflect that:
Then create that directory with proper rights:
In the below I am trying to create a parent directory using the R_2019 line from f1 if what above it is not empty.
I then create sub-directories under each parent if there is a match between $2 of f1 and $2. Inside each sub-folder the matching paths in $3 and $4 in f2are printed. If there is no... (2 Replies)
I have a script, which is checking if file exists and move it to another directory
if
then
mkdir -p ${LOCL_FILES_DIR}/cool_${Today}/monthly
mv report_manual_alloc_rpt_A_I_ASSIGNMENT.${Today}*.csv ${LOCL_FILES_DIR}/cool_${Today}/monthly
... (9 Replies)
Hi All,
We have main directory called "head"
under this we have several sub directories and under these directories we have sub directories.
My requirement is I have to find the SQL files which are having the string "procedure" under "head" directory and sub directories as well.
And create... (14 Replies)
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
I am trying to take a list of directories in a folder and give them a variable name. I have this working with the exception that the shell_exec command wants to place a return. Here is my code which might explain better what I am trying to do:
<?php
session_start();
$student1=$_SESSION;... (0 Replies)
Hi,
I am using the following command to check weather directory exists , if not i am creating a directory.
if
then
echo "directory already exsist"
else
mkdir healthcheck.log
echo "directory created" >> $_LOGFILE
fi
But i am gettin the following error in... (6 Replies)
script is:
dirname= "$(date +%b%d)_$(date +%H%M)"
mkdir $dirname
should create a directory named Nov4_
Instead I get the following returned:
root@dchs-pint-001:/=>./test1
./test1: Nov04_0736: not found.
Usage: mkdir Directory ...
root@dchs-pint-001:/=>
TOO easy, but what am I... (2 Replies)
Version-Release number of selected component (if applicable):
==================================================================
root@server # cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
root@server # uname -a
Linux server.integrityserver.net... (16 Replies)