OpenSUSE :: None-root User Runs An "at"-command - Error Written Into Errorreport Of The AIX-machine
Jul 13, 2010
I use a SLES-machine (should be similar to opensuse I guess) and ad AIX-machine and got the following error:
Every time a none-root user runs an "at"-command on the linux machine, there is an error written into the errorreport of the AIX-machine. the error is the following: <82>Jul 12 22:32:09 linux-hostname atd[10754]: PAM audit_log_user_message() failed: Operation not permitted
I already checked the files /etc/at.deny (exists with users listed like "alias, backup, bin, ..." but not the user that causes the error-message) and /etc/at.allow (which does not exist but is not necessary, as far as I could read from the internet).
I have had slack 12 on this computer for quite a while with never a problem. Slack 13.1 was installed a few weeks ago without a problem, it seems to run forever as long as it is root. When I go to user it will crash 2 or 3 times a day. When it crashes it is a total lockup that only the off/on switch will reset it. There is no certain time or thing that causes it, it will just lockup while surfing using the command line switching or opening a new le. Any suggestions will be appreciated! I have googled and searched with no info found.I do have 13.1 on another computer that works fine, it has an nvidea video card in it and it is 64 bit.
My application is installed on root of RH enterprise 5 and is run via user on the same machine. This need ssh without password from the user.
i do the following : 1. run ssh-keygen in .ssh directory of the user. 2. copy the id_rsa.pub as the authorized-keys in the root's .ssh directory 3 chmod 600 to the authorized_keys 4.restart the machine 5. login from the user and ssh SER ( SER is the entry in the /etc/hosts with the ip address of the machine) 6 It still prompt for the password
How can i ssh from the user to the machine without password.
Having installed Debian 7 on an old machine from a Liinux Format Magazine DVD I was unable to log in as a specific user. I can login as root and use useradd etc but when I logout of root I still cannot login as a user and nor will the machine accept my root password. I have to shutdown and reboot to get back into root. I'm using O'Reilly's Linux Pocket Guide from 2004 for the commands. Could it be that things have changed?
i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.
So, i've a little question. I have a Linux Red Hat 5.1 System wich has a programm that needs to be started as a user -> usera .When i reboot the server, how can i make it possible to run a command in the shell as usera user?Someone told me, that this is not possible to make an autostart entry because this works only with the root account?!What i want its simple.- Command -> startprg need's to be started as user usera automatically after an automated reboot of the red hat linux
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
I am a Fedora user and have recently shifted to Debian.I tried to install httperf using the following command as root user:apt-get install httperfbut apt-get cannot locate the package:
root@D6-VM:/home/saad# apt-get install httperf Reading package lists... Done Building dependency tree
Because I have a flaky wireless device, I occasionally get a hung connection and this script gets things running again in just a few seconds except obviously the boldfaced item, as it still tries to run in the root directory and gives errors:
Configuration file "/root/.kde/share/config/knetworkmanagerrc" not writable. Please contact your system administrator.
So I am not sure how to get knetworkmanager to run as me, the user ubuntu in the /home/ubuntu directory
#!/bin/bash service network-manager stop sleep 1 killall -9 knetworkmanager
I was wondering if someone had a logical reason and therefore complete, hopefully that makes total sense, for why when I install Ubuntu I cannot use the 'sudo' command either with root or user passwords. Even if I try to edit the permissions for sudoers, I still recieve an error message that says access is denied and so as the root user on my pc I don't understand why I can't put my name in the sudoers file or use the sudo command with the correct password.
I'm using squid version 2.7. The problem is when access.log is writing in new file for a new day, the access.log is written under "root" id, not "proxy" id. It caused the squid services not be running. I have to "chown" access.log to become "squid" id in order to run squid services. What I saw here is new access.log is written by "root".
Why we have to log in as root user some times while we can use sudo in command line ,is it diffrent , does sudo dont have all access and all permessions? i am really lost , i know little of alot of things in ubuntu ,but still missong alot of circles to make the complate picture.
When I log on a root and attempt to issue the command Freshclam to upgrade the virus definitions it attempts or create a new file with a definition name. I get a message stating that the directory isnt writable. The user and group access rights are as follows:
USER = read, write, execute Group = read, write, execute All= read, execute.
The only way I can get around this is by applying a 777 which would be read, write and execute for all. Now, I have a group define with several user ids in it including Root.How do I connect the group with the directory/file so I dont have to apply a 777 access right to group users could issue the Freshclam command.
I open an ODS file and edit it and save, fine. But sometimes and for no readily apparent reason it refuses to save the document with the error message:"Error saving the document <filename>: Write error. The file could not be written". I have upgraded my version of OpenOffice but the issue remains. Once it starts with that error the only way to save the file is to actually abandon my change and restart OOffice. Today I lost an hours stuff as the auto save was also failing but not giving me any warning it was failing. I'm not sure if this is an OpenOffice, file system, Fedora or permissions issue though I've not noticed anything similar with other applications. Have set permissions to 777 but still get the error.
My .jar file needs and uses some files in the same directory it's in (everything, including the jar was unzipped into said directory). It runs perfectly when I do java -jar file.jar in the command line, but there's trouble when I double-click the file when running from the file system manager. I've tried a custom command under properties ie java -jar, but the problem is that the .jar file doesn't seem to be able to use any of the files in the same directory. When running, the jar can't find any of the files that it needs.
Is there a non-root shell command that can tell me if a user's account is disabled or not? note that there is a fine distinction between LOCKING and DISABLED:
LOCKING is where you prepend ! or * or !! to the password field of the /etc/passwd file. On Linux systems that shadow the passwords, this marker flag may be placed in /etc/shadow instead of /etc/passwd. Password locking can be done (at a shell prompt) via password -l username (as root) to lock the account of username, and the use of the option -u will unlock it.
DISABLING an account is done by setting the expiration time of the user account to some point in the past. This can be done with chage -E 0 username, which sets the expiration date to 0 days after the Unix epoch. Setting it to -1 will disable the use of the expiration date.
The effect of locking to to prevent the login process from using a supplied password to hash correctly against the saved hash (by virtue of the fact that the pre-pended marker character(s) are not valid output character(s) for the hash, thus no possible input can ever be used to generate a hash that would match it). The effect of disabling is to prevent any process from using an account because the expiration date of the account has already passed.For my situation, the use of locking is not sufficient because a user might still be able to login, e.g. using ssh authentication tokens, and processes under that user can still spawn other processes. Thus, we have accounts that are enabled or disabled, not just locked. We already know how to disable and enable the account - it requires root access and the use of chage, as shown above.To repeat my question: is there a shell command which can be run without root privileges which can output the status of this account expiration info for a given user? this is intended for use on a Red Hat Enterprise 5.4 system.The output is being returned to a java process which can then parse the output as needed, or make use of the return code.
Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user
I know there's a command to display the live amounts of data being written and read to the disk.Like, it tells you how many blocks have been read/written so far to a device
Installed Firefox, Installed flashplugin-nonfree using apt-get, run FF as root and flash plays ok. Run FF as user and no flash. It prompts to download plugins and then fails.
This is on RedHat EL 5.2. I extract the tar.bz2 file downloaded from Mozilla's site, and drop it in user/firefox. I try to run Firefox, from a launcher I made, and nothing happens. I use the root terminal, and cd to the firefox directory, and run ./firefox, and it opens. The user owns all of the files and directories, but it still won't work unless I'm root
I have been following this guide to install Apache, PHP & mysql - [URL]. When I get up to the step 'mysql -u root' I get given this error: Code: tom@tom-laptop:~$ mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) How do I overcome this?
I migrated joomla to my new server and noticed that the script doesn't have the permission to edit it's own configuration file and write to the cache folder. All my files are owned by root, which I guess isn't a good idea.
As what user do the PHP scripts run? Or is this system specific? I don't want to chmod all files to 777 so I'd just like to change file and folder ownerships to the user that is executing that script.
System: ASUS Pro50n series Laptop Distro: Arch Linux DE: Gnome
I've just installed Exaile media player via pacman and I try and run it, nothing happens. I run it from the terminal and get the error: IOError: [Errno 13] Permission denied: '/home/scott/.config/exaile/exaile.log'
I looked in the log file stated above and it says nothing. I can however, run exaile under root with "sudo exaile" and it runs fine then. I had a similar problem with Emesene messenger, but couldn't find anything on any forums so I just used Empathy IM Client instead. It appears that its possibly something to do with the read/write permissions relating to ~/.config/ folder... because it does the same with banshee also, and the errors relate to permission denied to all folders within ~/.config/ whereas in root it can read and write and access this folder and the config files within fine. How I can try changing the privileges relating to this folder?
Akonadi can't run when log as user root due to mysql protection :
Code: [akonadiserver] Found mysql_install_db: "/usr/bin/mysql_install_db" [akonadiserver] Found mysqlcheck: "/usr/bin/mysqlcheck" [akonadiserver] Database process exited unexpectedly during initial connection! [akonadiserver] executable: "/usr/sbin/mysqld"
[Code].....
So how to configure Kmail to read and delete local mail sent by other users or by system or apps ?
for some reason root lost grant privileges and I can't get it back. The user got grant_priv = 'Y' in the usertable. I've tried to reset all the priviliges to the user by killing MySQL process and started up again without grant options with no luck. I've also tried lots of other things but can't seem to get it work. Here is what I get: Quote:
[root@xxxxxxxxx mysqldba]# mysql -p Enter password: Welcome to the MySQL monitor. Commands end with ; or g. Your MySQL connection id is 2 Server version: 5.0.77 Source distribution
For example, I want to install a texteditor called Editra, i done it like the following
First, I install the Editra sudo apt-get install Editra - success ,its version is 0.5.30
Second, I run it in Terminal Editra - it can work,but with the error infos "(python:1682): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion `GTK_IS_WIDGET (widget)' failed"
Third, I used command line "dpkg -L Editra", and found that the Editra is installed under /usr/share/pyshared/Editra,so i created the .desktop like this sudo gedit /usr/share/applications/Editra.desktop
It showed, and I clicked it for running, but it told me error infos Could not launch 'Editra' Failed to execute child process "/usr/share/pyshared/Editra" (Permission denied) Not just Editra, so many software that written in python have the same question, such as tortoisehg...