9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All
I am kind of confused, when to use .bash_profile or .profile
I have just created a user on a test server, with:
useradd -u 103 -d /fretagi -m -s /bin/bash fretagi
but now in its home dir I have:
-bash-3.2$ ls -al
total 14
drwxr-xr-x 2 fretagi other 512 Dec 5 15:54 .... (5 Replies)
Discussion started by: fretagi
5 Replies
2. Solaris
Hi all,
In Solaris , What entry should I add in my .profile file in home directory so that every time I don't have to give
Sudo's full path like
/usr/local/bin/sudo as well as /usr/sbin/ping
and it will be Great help if you could tell me how to know what should be added.
Please Advice.... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
3. Shell Programming and Scripting
I need help in settings to Hp-UX , Solaris , AIX-UX ..
I worked on Linux previously ... now i am working on Hp-UX , Solaris , AIX-UX ..
up/down arrow , to see history of previous command (basically to modify ) and few keyboard keys are different ... so i need to set .profile , .cshrc , ... to... (1 Reply)
Discussion started by: girija
1 Replies
4. Solaris
I'm attempting to setup rootsh on Solaris 10 to log the activity of users who require root access. However it does not appear to be sourcing root's .profile file even when run with the '-i' option. I was wondering if anybody else has run into this and might have a solution.
Thank you. (9 Replies)
Discussion started by: kungfusnwbrdr
9 Replies
5. Infrastructure Monitoring
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies
6. Solaris
Hey...
I'm sorry for my english, it isn't that well.
I'm already pretty familiar working with Jumpstart on Solaris 10. But now I have to do the same on Solaris 8. So my "profile"-file isn't working anymore by making mirrors.
How can I make a RAID 1 on Solaris 8?
The part with the... (4 Replies)
Discussion started by: vasy
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am trying to modifying the root user .profile file, but I cannot find it.
If I do the command "echo $SHELL", i get /sbin/sh
Where is the .profile located at? Sun's doc says the users home folder. I'm logged in as root, but when I go "/home", I don't see it :(
Please help (9 Replies)
Discussion started by: annointed3
9 Replies
8. UNIX for Dummies Questions & Answers
hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix.
please explain..
thanks (4 Replies)
Discussion started by: yls177
4 Replies
9. UNIX for Dummies Questions & Answers
Firstly, thank you for this great forum and the time you spend on answering newbies like me.
I still have a problem with understanding how profiling works on a solaris 2.6 unix system.
when adding a user, it should get a profile in /home I suppose.
And again, I suppose that this is the file... (7 Replies)
Discussion started by: phpote
7 Replies
NOLOGIN(5) BSD File Formats Manual NOLOGIN(5)
NAME
nologin -- file disallowing and containing reason for disallowing logins
DESCRIPTION
The file /etc/nologin, if it exists, causes the login procedure, used by programs such as login(1), to terminate. The program may display
the contents of /etc/nologin to the user before exiting.
This file is a simple mechanism to temporarily prevent incoming logins. As such, the file /etc/nologin is created by shutdown(8) five min-
utes before system shutdown, or immediately if shutdown is in less than five minutes. The file /etc/nologin is removed just before
shutdown(8) exits.
To disable logins on a per-account basis, see nologin(8).
The file /etc/nologin has no affect on the login procedure for the root user.
FILES
/etc/nologin The nologin file resides in /etc.
EXAMPLES
NO LOGINS: System going down at 18:22
SEE ALSO
login(1), ftpd(8), nologin(8), rshd(8), shutdown(8), sshd(8)
BSD
December 9, 2005 BSD