01-13-2014
Possibly it's permission issue,
check out .ICEauthority or .Xauthority in home directory
1. login using ALT+CTRL+F1
2. Enter USERNAME and PASSWORD
3. ls -la .ICEauthority OR ls -la .Xauthority
4. if these files are owned by you, then fine or else if its owned by root, then change permission like below
sudo chown username:username .ICEauthority OR .Xauthority
5. Switch back using ALT+CTRL+F7 OR F8, and try to relogin
This User Gave Thanks to Akshay Hegde For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all, i m tryin to create a new account on the unix work station. do i use 'useradd' command? can u guyz advice on the usage of 'useradd' command as it can comes with 'useradd -D' or 'useradd -e'
thanks :confused: (1 Reply)
Discussion started by: damian
1 Replies
2. UNIX for Dummies Questions & Answers
I have a question about show all create user account. What commend do that
thank`s for your help :) (6 Replies)
Discussion started by: Deux
6 Replies
3. Post Here to Contact Site Administrators and Moderators
hi
how to disable the useraccount in aix (should not remove). (1 Reply)
Discussion started by: chomca
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
We have a unix user account with login shell as ksh. Now we want to migrate our jobs to a new user account having bash as its login shell.
For the old account we had a .env file which set up a lot of aliases and did a few other useful things. It seems this file was executed the on logging... (2 Replies)
Discussion started by: sumanroyc
2 Replies
5. UNIX for Dummies Questions & Answers
I understand that Unix and it's counterparts are OSs, but would it be possible to just install them to a single user account? I'm using a family computer, whose other users want nothing more complicated on the computer than Internet Explorer, but I want to install Ubuntu so I can easily host my... (6 Replies)
Discussion started by: migigicoko
6 Replies
6. HP-UX
example
root::0:3::/:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico... (1 Reply)
Discussion started by: alert0919
1 Replies
7. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I need to install a program that can only be run in unix. I dont have unix on my system. Does anyone know of any free shell accounts with install permissions. I know that there are free shell accounts available on web , but those are without install permission.
Does installing Ubuntu... (7 Replies)
Discussion started by: akc
7 Replies
9. Cybersecurity
Please help me identify these user accounts..
bin, lp, nuucp, smbnull, mysql, tftp
Can we remove these user or disable these users?We have to apply the security policy about the user identification.Since it was settup by our vendor long time ago. We do not have these informations about these... (3 Replies)
Discussion started by: rdstkg
3 Replies
10. HP-UX
I need to check actual date a user was disabled on my HP-UX server.
Audit is claiming the user account was active during the last audit exercise. (7 Replies)
Discussion started by: cyriac_N
7 Replies
SUX(1) User Commands SUX(1)
NAME
sux - wrapper around su which will transfer your X credentials
SYNOPSIS
sux [OPTS] [-] [[username] [ARGS]]
suxterm [OPTS] [-] [username]
DESCRIPTION
sux is a wrapper around the standard su command which will transfer your X credentials to the target user.
Note, suxterm forces ARGS to be 'xterm', and will try to launch an xterminal window.
QUICK CALLING
'sux user' and 'sux - user' behave just like su but transfer $DISPLAY and the X cookies.
OPTIONS
--untrusted
To generate an untrusted cookie, see 'xauth'.
--timout <period>
To generate a temporary cookie for <period> seconds, see 'xauth'.
-m,-p --preserve-environment
In this case sux will override XAUTHORITY to the so that xauth does not try to use the original user's .Xauthority file (which it
obviously could not do anyway due to access rights).
--no-cookies
Just transfer DISPLAY, not the cookies. You could do this if you have already transfered the cookies in a previous invocation of
sux.
--copy-cookies
Copy the cookies using xauth. This is the default method (and only method most of the time).
--use-xauthority
Instead of transfering the cookies, set the XAUTHORITY environment variable to access the original .Xauthority file. There's a cou-
ple caveats with this method. First, due to the access right issues it's only usable by root. But even then it may not work if the
.Xauthority file is accessed via NFS, e.g. if the home directories are on NFS (note that this is quite dangerous already since your
cookies will travel unencrypted over the network). Then, if root runs commands like xauth add/remove, the .Xauthority's ownership
will belong to him. This will leave the original user in trouble as he will no longer be able to access X! So only use this option
with great care. Finally, this method does not work if you also want to use '--untrusted' or '--timeout'.
--display
specify which display to use (in case of having more than one available).
AUTHOR
Originally written by Francois Gouget <fgouget@free.fr> Manpage written by Millis Miller <millis@faztek.org>
REPORTING BUGS
Report bugs to <millis@faztek.org>.
COPYRIGHT
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
su (1), xauth (1)
sux 1.0 Sept 2003 SUX(1)