General :: Set User Account Expire Date?
Mar 17, 2010In SolarisQuote:#usermod -e 'September 18, 2010' usernameIs this correct format to set expire the user account after 180 days?Where is this information update?
View 4 RepliesIn SolarisQuote:#usermod -e 'September 18, 2010' usernameIs this correct format to set expire the user account after 180 days?Where is this information update?
View 4 RepliesI am getting below message daily in RHEL 5.5 for certificate renewal. Can someone help the way of renewaling this
######################################################
On Wed, 15 Dec 2010 13:11:04 +0800, Root <root@miniserver.net> wrote:
> ################# SSL Certificate Warning ################
[code]....
How to get output of text file containing account number, debit amount, credit amount,date using shell script?
View 1 Replies View RelatedI have a problem with the Google search box top right corner in Konqueror, when entering search I recieve an error page "Unsupported Protocol" Google asks for ioslave or kioslave. Also when highlighting text on a page and right clicking with the mouse no search option is given. I created a new user and all works as it should for the new user. What is wrong with my user account? I have reset default values in Konqueror setup.
View 3 Replies View RelatedI have two Fedora 10 boxes. Both have a user account, Andrew. I use this account all the time.
Now when I put my USB drive (ext3-filesystem) in box I, create a file in it. It works. But when I attach it to box II and try to access the files, it gives me error - Permission denied. I have to use
Quote:
sudo chown -R Andrew
Only then I am able to access the files in it.
When I attach my drive to box I again, it also gives me error - Permission denied. So in both boxes, I have to use
Quote:
sudo chown -R Andrew
first. Otherwise I get Permission denied message.
This means Andrew on both systems is different. How can I make Andrew account on both systems same? So that I can access files on my usb drive without running chown all the time.
two days before I have formatted my / partition and everything seems to working fine. Next day I came to office and try to login as root through ssh. I am getting the error: [sunheer@svn ~]$ ssh root@192.10.10.23
root@192.10.10.23's password:
Permission denied, please try again.
root@192.10.10.23's password:
I thought the password were wrong and I rebooted the server in to run level 1 and reset the password and it started to work. Again on next day the account got same problem.his started to happen after formatting the / partition
This is on an old machine that is running Solaris 7. I know that I can run the command script 'last' to get a list of who has logged in. When I do that I get a very long list of lines like:
username pts/4 100.32.11.123 Wed Dec 6 18:30 - 18:40 (00:09)
I see that the year is not posted. I have about 11 years worth of logins where users have logged in multiple times over several years.
So, here is what I need: I only need the date of the very last time a person logged in. I also need the year of that last login.
script that will do this? Something with output like
username1 pts/4 100.32.11.123 Wed Dec 6 2005 18:30 - 18:40 (00:09)
username2 pts/4 110.33.11.18 Tue Apr 20 2009 8:30 - 9:30 (01:00)
username3 pts/4 10.32.11.18 Mon Jun 12 2008 1:30 - 2:40 (01:10)
username4 pts/4 110.33.12.19 Sat Oct 10 2001 00:12 - 00:13 (00:01)
...
I want to know how to change a password to an user account. Can someone give me the syntax on how to do this? I was using usermod but it's not working (usermod -p 123456 user1). Is there other way beside usermod? I am using RHEL5.
View 3 Replies View RelatedI did an adduser to create a new account, but i forgot to add a description to the account, so it just looks like this when i look at the passwd file. how can i go back and add one? all my other accounts have descriptions after the two numbers.
testuser:x:512:512::/home/testuser:/bin/bash
I just installed Slackware 32bit 13.1. I created a new user with everything default. When I startup and logoff, I hear the startup and logoff sound. But other than that I have no sound in my user account I made. So I did some googling and found this command
Code:
So I logged in the terminal as root and gave it a try. Logged out then back in the user. And I still have no audio.
I never considered I would want to remote access my laptop, or that I would be able to figure out how (I know....). In any case, my (only) username and password are not all that complicated - just there for deterence more than anything else (I have a barely functioning battery and a FDE hard drive, so if you're going to unplug and transport this baby, it'll shut off; my hard drive PW is solid).
In any case, I wanted to create another account that I could use to log into with SSH to be able to access files. I've started by disabling SSH login to my current user account (DenyUsers myusername). I know I could add a new user to my system with its own home directory and all, but I want it as least 'present' or invasive as possible. So in sum, is there a way to create an SSH only user, and if so, how?
I thought I would check here to get some pointers, to be sure I don't mess up my system!
plans to upgrade my "production" desktop from Ubuntu 9.10 to 10.04 LTS. Based on what I have read and experienced with "upgrades" it is better to install the new version from scratch. That is what I plan to do. The next task is to install the various additional programs I wish to have. I can make a list of them and do the installs no problem.
So now I get to the question of my user account information. I have my current system built with the following file systems:
/ (for the OS)
/home (for my account)
/data (for all "data" including Firefox and Thunderbird profiles, OpenOffice.org documents and other data files)
Moving my "data" to the new OS will not be an issue. My user account information is stored in /home/ken. Can this be moved to the new OS? I would like to avoid having to redo gnome and program preferences and configurations, icons on the panel, saved passwords, ssh bookmarks and other stuff which Linux has stored in /home/ken.
I have created an Ubuntu virtual machine and tried a couple of approaches to transferring the files under /home/ken. The results were not promising. Is moving my profile a practical idea or should I just take a couple of hours and tweak everything on the new OS to my liking?
p.s. If I rebuild my profile are there any things I can do to make it "portable" in the future? For when I move to 12.04 LTS?
Recently I have renovated an old computer which once belonged to my dad (the old HDD crashed, and I just bought a new one to replace it). My parents want me to fix this computer for my 5-year-old sister to use. I decided to use Linux Mint as the OS because everything (flash, mp3, etc.) is already configured.
How do I create a user account in Linux Mint with limited access for my sister, so that it won't mess up the entire system?
All she does is surf the web, so I'm just worried that she might accidentally mess up a system setting that I eventually will have to fix it.
I will be setting up a computer for people who have very little experience using computers and I want to limit their ability to break things. I'm thinking Linux is the way to go but I don't know what distribution to use. I don't know anything about their hardware other than it is an old laptop. I don't have a lot of experience with Linux, but I would think that without sudo there is not a lot of things you can break.
What would be a good Linux dist that has everything out of the box? (flash, vnc, office, etc) How should I set up the user account to avoid giving them too much power, yet still allowing the computer to be useable for daily tasks? (Will they be able to update software?) I also want to be able to control the machine remotely since I won't have physical access after I set it up, so I am looking into ssh, vnc, (or a better alternative?).
What is the user account number when you create a root user account for the system during the installation of any linux distribution? I'm not sure if its 0, 1, 10, or 100..
View 2 Replies View RelatedWe are using ubuntu 10.04 desktop version.ls > /dev/lp0 permission denied in user account we need user can access lp0 /usblp0. Our printing module is lp0 writing technology example dir >prn.
View 3 Replies View RelatedWhen I reinstall my distro (MEPIS, for the last 2.5 years), making my new user account preserve all the old account's settings has always been a difficult and very messy process, especially if I have installed a new copy on another partition. (I'm doing that soon, so I have this copy as a backup until I have everything the way I want it on the new copy.) Most of my stuff gets saved, but not everything. The biggest problem is that, even if I select "preserve data in /home" in the MEPIS installer, my keyboard shortcuts become unusable (not completely erased) under odd circumstances. They're still listed in file /home/josh/kde/share/config/khotkeysrc, but they still can't be used, and I have to open hhotkeysrc and manually delete them and then reenter them in the menu editor (the K menu, by the way, gets completely overwritten).
I can't just overwrite the entire new user account with the old one; I've tried, and something goes wrong so that the new account can't be opened (probably because some important files are inaccessible--I can't tell which ones they become inaccessible).Anyway, is there a program that can preserve all the user account settings neatly for a new installation of the distro? I am supposing there is a program or at least a method, because I never hear others complaining about this problem. I probably don't know something I should know.
I need to create a special linux user account that has a very limited set of permissions on the system. Essentially to have read-only permissions for his home dir (and sub dirs) and nothing else - i.e. this user has no write or execute permissions and should not be able to read/access other user dirs or indeed anything outside of his home directory, irrespective of rwx permissions.
View 5 Replies View RelatedI have recently installed linux mint 10 Julia on my wife's Dell. I installed off CD from linux freedom website with the ftp download. My wife wanted her own account so I went to admin/users and groups and created her account. Or so I thought. When I tried to switch users (with the boot CD in and out of the drive) I got the follwing error:
1) "The panel encountered a problem while loading "OAFIID:GNOME_mintMenu" do you want to delete applet from your configuration?"
2) "The panel encountered a problem while loading "OAFIID:GNOME_IndicatorApplet" Do you want to delete the applet from your configuration?" Both of these had an orange word bubble with an exclamation point in it.
3) "Nautilus could not create the following required folders; :/home?tina?Disktop,/home/tina/.nautilus. Before running Nautilus, please create these folders or set permissions such that Nautilus can create them." This came in a red word bubble with an "x" in it. One last thing. When I installed linux mint 10 on my ancient compac (it has a pent 4 processor and had win 2K on it) all I had to do was plug in a usb wireless card and I was online. My wife's Dell has a wireless card built in and I can't find it in mint 10. How do I set up the wireless. Sorry for the "2 fer" but I'm pressed for time and have to get to work. I'm a copier tech/electrician and I'm good with the hardware but with the software, not so much. I'm sticking with linux no matter what the learning curve because my Mom gave me the compac evo thinking it was useless and I've brought it back to life with linux.
I created new desktop account for my wife but it is not loading and I get an error message on log in that ICE.authority failed to load and than nautilus give an error message that nautilus unable to create folders in home directory. And then I get a blank desktop without any panels.
View 11 Replies View RelatedI am a user of a cluster. I don't want root to see/copy files from my user account(obviously). Is that possible to limit the access of root to users account?
View 14 Replies View RelatedI am running Debian Lenny with the default Gnome desktop. When I set up a new user the sound is not available. It says the device in not installed. I have used the Gnome system menu as follows.System, Administration, Users and Groups, then used the add user button and entered the appropriate info. I then went and clicked on the properties button and then the User Privileges section and checked off the "use audio devices" button. Still no sound. When I go to System, Preferences, Sound, Devices, and do the sound tests I get report that device is not installed.
When I am logged in to the user (jon) that I set up when doing the D.Lenny install, the sound on all various media play back works fine.There is one with 1 exception when loged in to this user(jon). I can not get any sound from the system sounds like select check box = toggle .wav, chose menu item = beep, etc. It would be realy nice to know how to repair or configure tis issue as well.under system info, pci devices it lists as follows Multimedia audio controller, Intel Corp 82801FB/FBM/FR/FW/FRW. Mother board is a ECS 915P-A2 and I guess about 2007 or so vintage. 1 G mem installed and a P-4 2.66 chip. It has the sound built in to it. It works fine on WinXP.
I just created new user account, but the new user is able to access all the directories structure (including other's home directories).I'd like to limit the user to access ONLY his home directory (and nothing "above"). How do I do this?
View 1 Replies View RelatedI would like to create a script for consistent user account creation and maintenance.
Current situation:
Server A
user1:11111:15:USER USER:...
user2:22222:15:USER USER:...
Server B
user1:33333:15:USER USER:..
[Code]...
Now i would like to make uid consistent on all servers for each user. Next time if user1 needs to be created on Server D it should automatically pick the particular uid.
Janak
creating template (phpldapadmin 1.2.0.5). I create new template where im creating User Account (possixAccount) but i need to create Generic: Ldap Alias that will be created in other ou than account and i need both in one template.
View 1 Replies View RelatedDo 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?
On a Fedora Core box, I have a normal non-privileged user and I also have sole access to the root account. Because I am the only administrator of this box, I frequently su over to root for administrative tasks. The problem is that many of the user configuration I've become accustomed to are only configured on my day-to-day account (.vimrc, .bashrc, .screenrc, etc). Other than giving my day-to-day user account privileges to perform administration tasks, how would I go about sharing configuration between these two accounts?
View 1 Replies View RelatedOr 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
Apache is run as www as is all the files/folders. People are uploading via FTP, scp, so the problem is if I chmod so everyone can read, then rsync as a user it works until new files are added which then my ; if rsync fails with a permission denied. Now I can add a chmod in the script so everyone can read, but since www can already read, I figured I would just change my script to use www. I added the ssh key to his authorized_keys file, but when I try to just ssh in I see this in the secure file;
server sshd[29539]: User www not allowed because account is locked
sshd[29539]: Failed none for invalid user www from ip port 54983 ssh2
Now I read a few places already saying I need to add a password to the account, etc. but before I jump and try all I read, 1st major one, will this now break apache? Will this affect any startup things, etc. and .... will that unlock that user for ssh in or is there another preferred method?
I have a user account which is required to run as part of the operating system and as a service. I am currently attempting to install my companies software on an Ubuntu desktop via wine just for the purpose of finding out if it's do-able.
Is there a way, in Ubuntu, for a user account to be given the local rights assignment to act as part of the operating system and to function as a service in the background?