Display home directory - echo ~user1 below is the output :
Although a default home directory is returned it doesn't exist.
getent has below output:
finger has below output:
nsswitch.conf:
Output for ldaplist is same as in th previous post. And /etc/passwd has nothing specifc to this user.
Observe - getent and finger return default home directory for a non-existent user. While ldaplist says Object not found.
Assuming this user does have access, he tried logging in with LDAP credentials to authenticate which I would assume use the same sources as in nsswitch.conf but failed.
So I am not sure what makes this non-existent user different than other non-existent accounts?
when i compile *.cpp files the compiler didn't find the non standart includes.If i have to put the full path of the includet files
where shall i begin from root dirctory or i heve to put includet files in cpp home directory???
can i compile java files in unix(linux mandrake 7) if yes haw... (3 Replies)
Hi
I need to get the home directory of current user who is running the program, also i need to store the value in a particular variable and pass to the function.
thanks in advance (4 Replies)
Hi,
I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP.
The aim is to... (1 Reply)
I am writing a script below, which has 2 loops. The outer one reads file sufffixed with a number and inner inside which loop through each line of the file and display each space delimited string. However, i find that the string printed out in the inner loop includes not only the delimited string in... (2 Replies)
Hi,
I have a directory with Multiple subdirectories and 1000s of pictures (jpg) in each directory. The problem is that each directory has a 001.jpg in them. I want to append a unique name (the directory_name)would be fine. and then move them to one main backup directory once they have been... (1 Reply)
Hi Gurus.
This is driving me a bit batty. I now if must be a simple matter but I cant find anything that references it.
I have a housekeeping script that searches for some huge dump directories then removes them using rm -rf.
find ./ -name 'ab' -exec rm -rf {} \;
This works but always... (7 Replies)
Dear All,
assume i have a file with content:
<Start>6000</Start>
<Stop>7599</Stop>
the output is:
6000
7000
7100
7200
7300
7400
7599
how should we use any awk, sed, perl can do this task, means to extract the uniq prefixes from the start and stop prefix.
Thanks
Jimmy (3 Replies)
Hello,
I've just started using a Solaris machine with SunOS 5.10.
After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init).
... (2 Replies)
I have two DNS resolvers in /etc/resolv.conf file. The top one is Windows DNS server, and the bottom one is my wi-fi router. Please see below. nameserver 192.168.1.126 nameserver 192.168.1.1
In Windows DNS server, the sole "Forward Lookup Zone" is biman.net
When I query for host in the zone... (6 Replies)
Discussion started by: broy32000
6 Replies
LEARN ABOUT OPENSOLARIS
quota
quota(1M) System Administration Commands quota(1M)NAME
quota - display a user's ufs file system disk quota and usage
SYNOPSIS
quota [-v] [username]
DESCRIPTION
quota displays users' UFS disk usage and limits. Only the super-user may use the optional username argument to view the limits of other
users.
quota without options only display warnings about mounted file systems where usage is over quota. Remotely mounted file systems which do
not have quotas turned on are ignored.
username can be the numeric UID of a user.
OPTIONS -v Display user's quota on all mounted file systems where quotas exist.
USAGE
See largefile(5) for the description of the behavior of quota when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
FILES
/etc/mnttab list of currently mounted filesystems
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO edquota(1M), quotaon(1M), quotacheck(1M), repquota(1M), rquotad(1M), attributes(5), largefile(5), zones(5)NOTES
quota displays quotas for NFS mounted UFS-based file systems if the rquotad daemon is running. See rquotad(1M). In a zones(5) environment,
quota displays quotas only for the zone in which it is invoked.
quota can display entries for the same file system multiple times for multiple mount points. For example,
# quota -v user1
might display identical quota information for user1 at the mount points /home/user1, /home/user2, and /home/user, if all three mount points
are mounted from the same file system with quotas turned on.
SunOS 5.11 11 Nov 2008 quota(1M)