Ubuntu :: SSH X Forwarding Works For Main User, Not For Secondary User?

Oct 24, 2010

I can SSH to my own box using "ssh -X arancaytar@localhost" and run graphical applications. When I try the same using "ssh -X chris@localhost", I get an error message saying

Code:
chris@enki:~$ gedit
X11 connection rejected because of wrong authentication.

[code]....

View 4 Replies


ADVERTISEMENT

Server :: PRNG Not Seeded - Works With 1 User But Not A /chroot User

Jun 28, 2010

I installed SSH-keygen dependancies for a /chroot user.

I can now execute ssh-keygen from the /chroot user BUT I receive a message PRNG is not seeded.

When I do it from any of the users that are not /chroot users, it works fine.

View 2 Replies View Related

Ubuntu :: Secondary User Cant Connect To Wireless / Why Is So?

Dec 19, 2010

I have been reading through the linux guide as the bash tutorial said i should before learning bash.
The Guide told me i shouldnt use the administrator account as my everyday account so i added a new user but the network manager doesnt show and i cannot connect to my wireless internet. I have approved the secondary account to access the net and everything but i cant figure this out.

View 3 Replies View Related

General :: Adding User To A Secondary Group?

Sep 10, 2009

If user1's main group is genetics and one wants to add him/her to group biochem and to assign biochem as his/her secondary group will the following suffice ?

Code:

$ sudo usermod -G biochem user1

I would like for user1 to have genetics as the main group but also belong to biochem. When user1 creates a file, as he/she belongs to main group genetics, I assume the file will be owned by user1 and group owner will be genetics. Ideally files created by user1 should be accessible to users in group genetics(when permissions are tweaked) but not by individuals in group biochem. However, any files with group owner biochem should be accessible to user1 as he/she does belong to biochem as a secondary group. Would having user1 main group genetics, secondary group biochem fulfil this criteria ?

View 5 Replies View Related

Ubuntu :: Main User Disappeared After Changing UID And GID

Sep 20, 2010

I run both Mac OS X and Lucid. I backed up my OS X partition in preparation for a restore. I also moved over important work documents to Lucid. Restored OS X using timemachine. Updated OS X with patches and moved over some files from external hard drive. After moving the files over, timemachine backed up system. I went into Time machine to transfer work documents over but the previous back up was deleted for the new one. I had the documents on Lucid. I just needed to switch it over to OS X. Therefore, I tried to enable read/write from Lucid to Mac OS X partition.

1. sudo usermod -u osx-uid ubuntu-username # change Ubuntu UID to 501
2. sudo umount /osx # UNMOUNT OSX PARTITION FIRST!!!
3. sudo find / -uid old-ubuntu-uid -print0 | xargs -0 chown osx-uid # change file permissions

OS X was unmounted prior to entering commands and performed the steps above under a different user. During step 3 I received an error stating you do not have sufficient privileges and the process stopped. I logged out of my temporary account and tried logging back into my main account. Main account was not present on the login screen. So I followed these steps to change my UID and GID from 501 back to 1000. Login appeared. I tried to login but there was an error about ICEauthority and Nautilus. System doesn't load up and only shows wallpaper. I haven't deleted anything and I expect that I just need to point my UID back to wherever my home folder is.

View 2 Replies View Related

Server :: Mail Is Not Forwarding For Particular User From Postfix To Exchange

Sep 16, 2010

I have an issue in my organisation that a particular user X's mail not able to forward from my linux server MTA postfix to my second windows exchange (HUB)mail server. We use linux mail server as SMTP Gateway we have implemented fetchmail for doing this job. and its MTA is postfix OS is SUSE. Rest users mail are able to come in exchange HUB server via linux mail server. When I see that purticular user X mail in linux I am able see its spool file in /var/spool/mail and also via mail or mutt command. My question is why postix not able to forward that user X mail to our exchange HUB server.

View 120 Replies View Related

Debian Configuration :: Wireless Only For Main User?

Mar 24, 2010

I don't exactly know what happened but for some reason only the main user has access now to the networkmanager and is able to connect to internet. If I switch to another user, the networkmanager reports no connectivity and the PCMCIA card dies. Does anyone know what to do? It seems like an access feature, related to permissions or something.

I checked but the user is added to the netdev group...

View 1 Replies View Related

Ubuntu :: Main User Account Not In Sudoers List Debian 6.0 Squeeze

Feb 23, 2011

When i installed the new version of debian on my laptop to try it out, i noticed that i can't sudo as my main account is not in the sudoers list and i cannot put me in because i'm not sudo.

Code:
cesar@debian:~$ groups

cesar cdrom floppy audio dip video plugdev netdev powerdev scanner bluetooth
I have to enter as a root account but don't know how, plus i forgot my root password.

note. i dualboot with ubuntu 10.04 and grub is managed by it.

View 1 Replies View Related

Ubuntu :: Deleted User Main Folder - How To Restore Using Root Shell

Apr 14, 2011

I have system that was cloned from another system hence the user was same in both computer. I changed the computer name - to TANU. Then I added another user - BANU. I gave admin rights to second user. Logged out the first user DON- who is now only the desktop user. Before deleting the account through users and groups - I deleted the folder DON from home folder. I restarted the comp. unable to login. I had created automatic login for both users. How to restore the folder DON while using root shell.

View 2 Replies View Related

General :: Can Root And Main User Account Share Same Home Directory?

Feb 13, 2011

Or would this sacrifice security in some way? I've been using root only, and am ready to have a seperate account now. It's the dotfiles for GUI apps that I'm concerned about:

Code:
-rw------- 1 root root 98 Feb 13 16:23 .Xauthority
-rw------- 1 root root 6392 Feb 12 18:13 .bash_history
drwx------ 5 root root 4096 Jan 13 17:47 .config
drwxr-xr-x 4 root root 4096 Dec 29 21:36 .fvwm
drwx------ 4 root root 4096 Nov 7 19:55 .mozilla
-rw------- 1 root root 218 Jan 26 10:04 .recently-used.xbel
-rw------- 1 root root 98 Feb 13 16:23 .serverauth.17096
drwxr-xr-x 2 root root 4096 Dec 25 12:42 .tuxcmd
drwxr-xr-x 2 root root 4096 Feb 12 17:25 .xine

View 11 Replies View Related

Fedora :: Passwordless-ssh Works - But Not After Su To User?

May 11, 2011

I have key-based authentication working for one user on a cluster--

Code:
user@thisnode > ssh user@othernode
last login blah blah blah..
user@othernode >
but if I switch to that user and try it, I get an error--

[Code]...

View 2 Replies View Related

Ubuntu Multimedia :: Webcam Only Works For Default User?

Feb 1, 2010

On a PC with 4 users (Karmic), I have installed a webcam. Everything (cam and mic) works for the default user. Cam works in cheese. For the 3 other users, there only are a "testpicture" in cheese and no mic . ???

View 4 Replies View Related

Ubuntu :: 10.04 Lucid - Samba Only Works For Root User?

Jul 17, 2010

I'm new to Ubuntu and I'm pretty sure I'm just missing something simple. I want to use Samba to share my raid array to all of my machines, so I have...Installed Ubuntu and created a single user: mattMounted my ext4 raid set with fstab:

Code:
UUID=78d85398-d179-4640-bb1b-f770ba90abb1 /media/Data ext4 defaults 0 0
Installed Samba (real Samba, I haven't touched the Nautilus-Share right-click thing):

[code]...

View 1 Replies View Related

Ubuntu :: 10.04 - Truecrypt File Only Works On Admin User

Sep 14, 2010

A regular (non admin) user can create a Truecrypt 7.0a file, but it can't be mounted. The admin password is refused. If you try the regular user password, the error is that you are not on the sudo list.

View 1 Replies View Related

Debian :: Why $http_proxy Only Works For Root User In Apt-get

Feb 24, 2010

I just setup a debian OS(in emulator) and trying to use apt-get update. When I log in as root and do:

export http_proxy=http://proxy.com:9090
apt-get update   works

If I use another user and ssh to this debian, sudo apt-get update will fail to work because it don't use the proxy. I try to do the export http_proxy stuff again but still not working. echo $http_proxy showing it already set correctly...

p/s:
I have a workaround by adding this lines in the apt.conf
ACQUIRE {
http::proxy "http://proxy.com:9090"
}

but I really don't want this solutions because I want to easily disable the http_proxy in command prompt (by unset it).

View 1 Replies View Related

Fedora Hardware :: Touchpad Only Works On An User?

Aug 21, 2010

After update dbus-glib-0.86-4.fc13 [URL] the touchpad stopped working for the my session(user) I created another user to test and it is working ...

fedora 13 gnome

View 2 Replies View Related

Software :: Vi/vim Works For Root But Not For Regular User?

Oct 14, 2010

If I log in as root I can vi/vim a file with no problems. When I log in as a regular user I get the following error when I try to vi/vim.

[Code]...

Why does vi/vim work as root and not a regular user? Also what rpm's can I install to get it working?

View 2 Replies View Related

Ubuntu Multimedia :: Karmic: Sound Works For Root But Not For User

Feb 7, 2010

I cannot find a post that matches this scenario...the id created during the install (from CD) of Karmic has fully usable sound. However, users created from the Users and Groups app do not.

I have made sure that all users are defined to the audio, pulse, pulse-audio, and pulse-rt groups. No luck.

I have followed every step I have read having to do with the alsamixer. No luck.

I have verified that alsa and linux itself are at the latest versions.

View 9 Replies View Related

Ubuntu Multimedia :: Chmod For Raw1394 So Capture Works For User?

May 11, 2010

For some reason I can't connect my JVC MiniDv camera in kdenlive (or kino) until I run this script in terminal

Code:
sudo chmod 666 /dev/raw1394

but it needs re-entering each time I reboot my PC.

How can I make this access permanent?

View 4 Replies View Related

Ubuntu Servers :: Open Sshd Ssh-key's Only Works After A User Loged In?

Apr 16, 2011

I have keys set up on ubuntu server 10.10 When I issue "It failes for publickey"

Code:
ssh -i ~/.ssh/id_rsa USERNAME@MYSITE -v
Code:
skip...
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey

[Code]....

View 2 Replies View Related

Applications :: Program Works As Root But Fails As User

Jan 21, 2010

I can't get a program (wbar) to run directly from my user account, it fails saying "Image not found -> maybe using a relative path?". But if I run su -c "wbar", it shows up and manages to load the image. I think it has something to do with ImLib2 or whatever loads the image. I checked permissions on libImlib2.so.1 and it's world-readable and executable. Can libImlib2.a be causing this problem, set to 644? What else should I be checking?

View 2 Replies View Related

Ubuntu :: GDM Login/switch User Screen Blank - Autologin Works

Jan 5, 2011

I've run into a strange problem with GDM that I haven't managed to find a solution for yet, either by trying myself or googling, and I have run out of good ideas. I'll just infodump here about the problem and what I've tried etc;

I installed Ubuntu on a new PC a few weeks ago, setting it up with autologin for my mom and a separate user for myself, using the on/off-icon menu in the top-right corner to switch to my own user and back as needed, and logging the user out when done. This worked quite well.

However, a few days ago, this stopped working; logging out or trying to switch now leaves me with a blank black screen, without even a mouse pointer (but not off, the backlight is on).

EDIT: To clarify, this is an issue that only affects the GDM login screen, but that affects it whenever it is used, wether it is on boot (when not set to autologin), after logging out, or when trying to switch user.

At this point, I can usually use Ctrl-Alt-F1 to get a textmode login, and Ctrl-Alt-F7 to get back to the auto-logged in session (assuming I tried to switch, not logout).

I can't think of anything specific I did or installed around then that should be related in any way...

I tried disabling autologin and restarting gdm, which left me with the same black screen (which is still there after rebooting), instead of the expected login window. I managed to re-enable autologin by manually editing the /etc/gdm/custom.conf file, so that it would at least work for mom.

I've also tried to change which user is auto-logged in, thinking it might be a problem with my user account, but both users get an automatic session just fine when I restart gdm.

I thought it might be a problem with the video driver, but that's not the case - if I run zenity --info as root with DISPLAY set correctly, the dialog box appears on the screen just fine. It has no borders or titlebar (there's no windowmanager), and is apparently without keyboard focus, so since there's no visible mouse pointer I can't click the OK button... But since it appears, X is apparently up and running just fine, just has nothing to display other than a black background.

I tried purging and reinstalling gdm and gnome-session(-bin|-common), but that didn't help any.

Running ck-list-sessions after trying to switch indicates that there's a new session there, with session-type = 'LoginWindow', so it appears to think everything's fine.

Enabling debug output in the /etc/gdm/custom.conf file did get me some more debug output in the gdm logs, but it didn't really tell me anything, there weren't any obvious problems that I could see.

After some looking around, I've guessed that it's supposed to be running gdm-simple-greeter, which I assume would display a login box; trying to run it manually doesn't work though (it's missing some environment variables, and trying to add them based on the abovementioned debug output doesn't really help).

View 9 Replies View Related

Debian Configuration :: Ping Fail As User Works With Root?

Oct 13, 2010

I have a very strange problem.ometimes, yes sometimes not all the time, I get a Destination Host Unreachable when I ping a computer on my network. If I switch to root using su I can ping that same computer. Here is a screen shot:

joseph@laptop:~$ ping 192.168.1.14
PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
From 192.168.1.9 icmp_seq=2 Destination Host Unreachable

[code]...

View 1 Replies View Related

Hardware :: Audio Fedora 12 As A Normal User But Works As A Root?

Sep 14, 2010

I'm using fedora 12 and modified the user login options(normal and super user login). I've been using the accounts for a while but i've bumped into a problem - audio not working as a normal user but works when logged in as root. Also, i'm not able to use VLC as a root user.

View 1 Replies View Related

Slackware :: Kuser Stopped Working For 1 User But Still Works For 2 Other Users?

Feb 24, 2011

Kuser no longer works for 'rob' but still works for 'robert' & 'root'. It launches (i.e. the cursor bounces up & down and a Kuser box appears in the task bar) but the Kuser screen never opens. Finally, the bouncing cursor disappears as well as the Kuser box in the task bar.

View 1 Replies View Related

Security :: Ubuntu 10.10 Is Not Allowing Amin Privileges To Admin User, Even Tho Sudo Works?

Feb 21, 2011

i am relatively new to ubuntu. Just recenty i have not been able to access certain files(for example the history and bookmarks in the firefox folder), download files individually from the internet(music,fonts,etc), recieving an error message

Quote: Originally Posted by firefox error console

Error: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileOutputStream.init]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///usr/lib/firefox-3.6.13/components/nsSessionStore.js :: sss_writeFile :: line 2944" data: no][code]...

i have sudo priveleges and can install via update manager. i read somewhere that compizfusion might affect access permissions and i do use compiz and emerald at the same time.

View 9 Replies View Related

Ubuntu :: No SUDO Access When Admin User Created Through Kubuntu User Manager?

Jan 6, 2010

Original HOWTO can be found at: [URL]... So the other day I was in IRC and someone had brought up a problem where they created a new Administrative user, but didnt have rights to use sudo. Looked into the problem a little bit to figure out what was wrong, and it turns out that when you create a new user through the user manager (in kubuntu, anyways. Havent tested in Gnome.) the user gets added to the adm group, however, a quick look at the sudoers file shows that its looking for users in the admin group to allow the use of sudo. So, to solve the problem we do the following: If youre on the new admin user (which Im assuming you are) use the following commands:

Code:
su [insert username of old account without brackets]
sudo usermod -G admin [username of new admin account without brackets]
exit

Then simply logout, and then log back in (not always necessary, but the easiest way to flush the permissions.)

Code:
su [insert username of old account without brackets]
Means were going to Switch User to the old admin account
Code:
sudo usermod -G admin [username of new admin account without brackets]
This simply adds the admin group to the secondary group list for the new user
Code:
exit
Pretty self explanatory

View 4 Replies View Related

Ubuntu :: Made An Error With Chmod - Create User But Don't Allow To See The Other User's Home Folder

Jan 18, 2010

I wanted to create an user but don't allow it to see the other user's home folder so I made chmod 0750 /home/folder and it worked fine so I went ahead and decided to completely forbid access to the root folder and I had the "great" idea to make chmod 0750 /, and now I'm having problems with wine and other applications, in example I used to have a folder in this address 209.239.114.51/mmgr but now it's giving me errors and if I try to run some applications I got error "There was an error creating the child process for this terminal"

View 9 Replies View Related

Ubuntu :: Access User Account 1 Home Directory From User 2 Work Space?

Jun 16, 2011

Do you think there is a way of accessing different user data from another account which I have set up.

Ie. user 1 = account has messed up

user 2 = account works fine

access user account 1 home directory from user 2 work space?

View 9 Replies View Related

Ubuntu :: Copy User Settings / Folders From One User Home Folder To Another?

Jan 10, 2010

I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried

Code:

sudo cp -nRv /home/user1/* /home/user2
but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.

im talking about the .adobe, .amsn ..........

How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved