08-16-2008
See if you have /etc/environment file in place,
If not try doing a touch and see if it works ...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
On my small network some of my users are having trouble logging in. What's something that I can do to find out what's wrong? Are there any commands that I can run or files I can check?
,AP (4 Replies)
Discussion started by: Anthony
4 Replies
2. UNIX for Dummies Questions & Answers
hello,
Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux).
I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Discussion started by: jarkvarma
1 Replies
3. HP-UX
hello:
before I am add user in Linux with " adduser" command .
for example system(adduser zzf -p hello);
and this command "-p" option is used to create "login password".
now i do not find the "-p" option in " adduser " in hp unix os.
and i should how to do ??? (3 Replies)
Discussion started by: phoenix_fei
3 Replies
4. Linux
Hi All
I am facing a login issue actually on my local machine users are not suppose to login with there respective prompt on the machine.
Access deneid
login as: daya
Sent username "daya"
daya@10.10.0.3's password:
Access denied
daya@192.168.0.83's password:
and even i am not suppose... (3 Replies)
Discussion started by: daya.pandit
3 Replies
5. AIX
1) when user login to the server the session got colosed. How will resolve?
2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem?
Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies
6. Red Hat
first of all I am Newbie to linux I confidured my sendmail -8.13 on RHEL5, but i have a problem regarding user accounts.
How can I user access his account on remotely while all users exit on servers ?
should i need to configure extra server to enable this ....
And what is LDAP and can this... (1 Reply)
Discussion started by: sandy6573
1 Replies
7. UNIX for Advanced & Expert Users
Dear All,
Plz help
in unixware 7x only root user login & other user not login .
message giving permission denied (3 Replies)
Discussion started by: sudhir69
3 Replies
8. AIX
Hi,
I am getting tired in creating several users in a day. Can anyone have a script to create several users in the same server, as well as, to create one user in several servers.
where i have to put script and how to run the script.
Waiting for your reply.
Thanks in advance (5 Replies)
Discussion started by: udtyuvaraj
5 Replies
9. UNIX for Advanced & Expert Users
I wan to add a new user. I have executed the following command. The user home directory is created.
but password creation shows error.
Note: I'm using LDAP Server for user authentication.
adduser xxx
Adding user `xxx' ...
Adding new group `xxx' (1003) ...
Adding new user `xxx' (1003) with... (2 Replies)
Discussion started by: ungalnanban
2 Replies
10. Red Hat
I could not create the user name with the number infront of...
useradd 8siva
useradd: Invalid account name `8siva' (3 Replies)
Discussion started by: gsiva
3 Replies
AC(8) BSD System Manager's Manual AC(8)
NAME
ac -- connect time accounting
SYNOPSIS
ac [-dp] [-t tty] [-w wtmp] [users ...]
DESCRIPTION
If the file /var/log/utx.log exists, a record of individual login and logout times are written to it by login(1) and init(8), respectively.
The ac utility examines these records and writes the accumulated connect time (in hours) for all logins to the standard output.
The options are as follows:
-d Display the connect times in 24 hour chunks.
-p Print individual users' totals.
-t tty Only do accounting logins on certain ttys. The tty specification can start with '!' to indicate not this tty and end with '*' to
indicate all similarly named ttys. Multiple -t flags may be specified.
-w wtmp Read connect time data from wtmp instead of the default file, /var/log/utx.log.
users ... Display totals for the given individuals only.
If no arguments are given, ac displays the total connect time for all accounts with login sessions recorded in utx.log.
The default utx.log file will increase without bound unless it is truncated. It is normally truncated by the daily scripts run by cron(8),
which rename and rotate the utx.log files, keeping a week's worth of data on hand. No login or connect time accounting is performed if
/var/log/utx.log does not exist.
FILES
/var/log/utx.log connect time accounting file
EXIT STATUS
The ac utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
Allow times recorded in modems to be charged out at a different rate than other:
ac -p -t "ttyd*" > modems
ac -p -t "!ttyd*" > other
SEE ALSO
login(1), getutxent(3), init(8), sa(8)
BSD
January 21, 2010 BSD